|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.sde.sdk.client.SeInstance
public class SeInstance
Used to manage and query an ArcSDE Instance.
Nested Class Summary | |
---|---|
static class |
SeInstance.SeInstanceConfiguration
SeInstance inner class that retrieves the configuration of ArcSde instance. |
static class |
SeInstance.SeInstanceId
SeInstance inner class that retrieves the id of this instance. |
static class |
SeInstance.SeInstanceLocks
SeInstance inner class that retrieves locks information for the ArcSde instance. |
static class |
SeInstance.SeInstanceStateLocks
SeInstance inner class that retrieves state locks information for the ArcSde instance. |
static class |
SeInstance.SeInstanceStats
SeInstance inner class that retrieves a list of user information for the ArcSde instance. |
static class |
SeInstance.SeInstanceStatus
SeInstance inner class that retrieves the status of an ArcSde instance. |
static class |
SeInstance.SeInstanceTableLocks
SeInstance inner class that retrieves table locks information for the ArcSde instance. |
static class |
SeInstance.SeInstanceUsers
SeInstance inner class that retrieves a list of user information for the ArcSde instance. |
static class |
SeInstance.SeInstanceVersionLocks
SeInstance inner class that retrieves version locks information for the ArcSde instance. |
Constructor Summary | |
---|---|
SeInstance(java.lang.String server,
int instance)
Establishes a connection to an ArcSDE Instance. |
|
SeInstance(java.lang.String server,
int instance,
java.util.Locale insLocale)
Establishes a connection to an ArcSDE Instance. |
|
SeInstance(java.lang.String server,
java.lang.String instance)
Establishes a connection to an ArcSDE Instance. |
|
SeInstance(java.lang.String server,
java.lang.String instance,
java.util.Locale insLocale)
Establishes a connection to an ArcSDE Instance. |
Method Summary | |
---|---|
SeInstance.SeInstanceConfiguration |
getConfiguration()
Returns the ArcSde instance configuration. |
int |
getInstance()
Returns the ArcSDE instance's port number. |
SeInstance.SeInstanceId[] |
getInstanceList()
Returns a list of all the instances for this schema. |
SeInstance.SeInstanceLocks[] |
getLocks()
Returns a list of all the layer locks allocated by the instance. |
SeObjectLock[] |
getObjectLocks()
Returns a list of all object locks allocated by the instance. |
java.lang.String |
getServerName()
Returns the ArSde instance server name. |
SeInstance.SeInstanceStateLocks[] |
getStateLocks()
Returns a list of state locks in use. |
SeInstance.SeInstanceStats[] |
getStats()
Returns statistics of server processes connected to the ArcSde instance. |
SeInstance.SeInstanceStatus |
getStatus()
Retrieves the ArcSde instance status. |
SeInstance.SeInstanceTableLocks[] |
getTableLocks()
Returnss a list of table locks in use. |
SeInstance.SeInstanceUsers[] |
getUsers()
Returns a list of user information connected to ArcSde instance. |
java.lang.String[] |
getVariables()
Returns the ArcSde instance environment variables list. |
SeInstance.SeInstanceVersionLocks[] |
getVersionLocks()
Returns a list of version locks in use. |
void |
killAllProcesses(java.lang.String password)
Kills all ArcSde server processes. |
void |
killProcess(int pid,
java.lang.String password)
Kills the specified ArcSde server process. |
void |
pause(java.lang.String password)
Pauses, or disallows further connections to, the ArcSde instance. |
void |
resume(java.lang.String password)
Resumes, or allows connections to, the ArcSde instance. |
void |
shutdown(java.lang.String password)
Shuts down the ArcSde instance. |
void |
start(java.lang.String instance,
java.lang.String password)
Starts the ArcSde Instance. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SeInstance(java.lang.String server, int instance) throws SeException
server
- name of the server machine.instance
- port number that the server instance is listening on.
SeException
public SeInstance(java.lang.String server, int instance, java.util.Locale insLocale) throws SeException
server
- name of the server machine.instance
- port number that the server instance is listening on.insLocale
- SeLocale object that identifies Locale properties.
SeException
public SeInstance(java.lang.String server, java.lang.String instance) throws SeException
server
- name of the server machine.instance
- port number that the server instance is listening on,
and the schema, e.g. port:schema.
SeException
public SeInstance(java.lang.String server, java.lang.String instance, java.util.Locale insLocale) throws SeException
server
- name of the server machine.instance
- port number that the server instance is listening on,
and the schema, e.g. port:schema.insLocale
- SeLocale object that identifies Locale properties.
SeException
Method Detail |
---|
public SeInstance.SeInstanceConfiguration getConfiguration() throws SeException
SeException
SeInstance.SeInstanceConfiguration
public void shutdown(java.lang.String password) throws SeException
password
- ArcSde DBA password.
SeException
public void pause(java.lang.String password) throws SeException
password
- ArcSde DBA password.
SeException
public void resume(java.lang.String password) throws SeException
password
- ArcSde DBA password.
SeException
public void killProcess(int pid, java.lang.String password) throws SeException
pid
- process id of the server process to be terminated.password
- ArcSde DBA password.
SeException
public void killAllProcesses(java.lang.String password) throws SeException
password
- ArcSde DBA password.
SeException
public SeInstance.SeInstanceStatus getStatus() throws SeException
SeException
SeInstance.SeInstanceStatus
public int getInstance()
int
valuepublic java.lang.String getServerName() throws SeException
SeException
public SeInstance.SeInstanceUsers[] getUsers() throws SeException
SeException
SeInstance.SeInstanceUsers
public SeInstance.SeInstanceId[] getInstanceList() throws SeException
SeException
SeInstance.SeInstanceId
public SeInstance.SeInstanceStats[] getStats() throws SeException
SeException
SeInstance.SeInstanceStats
public SeObjectLock[] getObjectLocks() throws SeException
SeException
SeObjectLock
public SeInstance.SeInstanceLocks[] getLocks() throws SeException
SeException
SeInstance.SeInstanceLocks
public SeInstance.SeInstanceStateLocks[] getStateLocks() throws SeException
SeException
SeInstance.SeInstanceStateLocks
public SeInstance.SeInstanceTableLocks[] getTableLocks() throws SeException
SeException
SeInstance.SeInstanceTableLocks
public SeInstance.SeInstanceVersionLocks[] getVersionLocks() throws SeException
SeException
SeInstance.SeInstanceVersionLocks
public java.lang.String[] getVariables() throws SeException
SeException
public void start(java.lang.String instance, java.lang.String password) throws SeException
instance
- name of the service as it is defined
in the services file on server machine.password
- ArcSde DBA password.
SeException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |