|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.server.ServerObjectConfigurationStatus
public class ServerObjectConfigurationStatus
The ServerObjectConfgurationStatus object which reports the status of a server object configuration.
The ServerObjectConfigurationStatus object contains information about a server object configuration's status to administrators (whether it is started, stopped, etc), and information about the number of instances of the configuration that are running and the number of those instances that are in use by applications. In order to access this object, you must connect to the GIS server as a user who is a member of the agsadmin user group.
ServerObjectManager
,
ServerObjectType
,
IAGSServerConnectionAdmin
,
AGSServerConnectionName
,
IEnumServerObjectType
,
IEnumServerDirectory
,
AGSServerConnection
,
IServerConnection
,
ServerObjectTypeInfo
,
IEnumServerObjectTypeInfo
,
IAGSServerObject
,
ServerDirectoryInfo
,
ServerObjectConfiguration
,
ServerContext
,
ServerObjectConfigurationStatus
,
IAGSServerObjectName
,
ServerConnection
,
IAGSServerConnectionName
,
IAGSEnumServerObjectName
,
ServerObject
,
IServerObjectConfigurationInfo
,
IServerObjectAdmin
,
AGSServerConnectionFactory
,
IAGSServerConnectionFactory
,
IEnumServerObjectConfigurationInfo
,
IGISServerConnection
,
IAGSServerConnection
,
IServerContext
,
ServerDirectory
,
ServerObjectConfigurationInfo
,
IEnumServerMachine
,
ServerMachine
,
IServerObjectConfiguration
,
IServerObjectManager
,
IServerObjectTypeInfo
,
IServerMachine
,
IServerObject
,
IServerObjectType
,
GISServerConnection
,
AGSServerObjectName
,
ServerObjectAdmin
,
IEnumServerObjectConfiguration
,
Serialized FormConstructor Summary | |
---|---|
ServerObjectConfigurationStatus(Object obj)
Construct a ServerObjectConfigurationStatus using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
int |
getInstanceCount()
Number of instances of server objects for a particular configuration that are currently running in the GIS server. |
int |
getInstanceInUseCount()
Number of running instances of server objects for a particular configuration that are in currently use by clients of the GIS server. |
int |
getStatus()
Status of the server object configuration. |
int |
hashCode()
the hashcode for this object |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public ServerObjectConfigurationStatus(Object obj) throws IOException
obj
to ServerObjectConfigurationStatus
. *
ServerObjectConfigurationStatus o = (ServerObjectConfigurationStatus)obj; // will not work
ServerObjectConfigurationStatus o = new ServerObjectConfigurationStatus(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
ServerObjectConfigurationStatus theServerObjectConfigurationStatus = (ServerObjectConfigurationStatus) obj;
Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public int getInstanceCount() throws IOException, AutomationException
The InstanceCount is the numner of instances of server objects defined by the server object configuration that are currently running within the server.
getInstanceCount
in interface IServerObjectConfigurationStatus
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getInstanceInUseCount() throws IOException, AutomationException
The InstanceInUseCount is the numbner of instances of server objects defined by the server object configuration that are currently in use by applications. For non-pooled server objects, the InstanceInUseCount will be the same as the InstanceCount.
This property is useful in monitoring server object usage to help you make decisions about increasing or decreasing the MinInstances and MaxInstances for a particular server object configuraiton.
getInstanceInUseCount
in interface IServerObjectConfigurationStatus
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getStatus() throws IOException, AutomationException
The Status property on IServerObjectConfigurationStatus indicates the current status of the server object configuration. A server object configuration can be in one of the following stagus categories:
Started (esriCSStarted)
Stopped (esriCSStopped)
Paused (esriCSPaused)
Starting (esriCSStarting)
Stopping (esriCSStopping)
getStatus
in interface IServerObjectConfigurationStatus
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |