|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.server.ServerMachineStatus
public class ServerMachineStatus
The ServerMachineStatus object which reports the status of a server host machine.
Constructor Summary | |
---|---|
ServerMachineStatus(Object obj)
Construct a ServerMachineStatus 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(int access)
The number of server object instances currently running in this SOC machine. |
int |
getInstanceInUseCount(int access)
The number of currently running server object instances in use by clients of this SOC machine. |
int |
getNumberOfProcessors()
Number of processors. |
int |
hashCode()
the hashcode for this object |
boolean |
isEnabled()
Indicates if machine is connected and can be used by server(true) or not(false). |
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 ServerMachineStatus(Object obj) throws IOException
obj
to ServerMachineStatus
. *
ServerMachineStatus o = (ServerMachineStatus)obj; // will not work
ServerMachineStatus o = new ServerMachineStatus(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
ServerMachineStatus theServerMachineStatus = (ServerMachineStatus) obj;
Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public int getInstanceCount(int access) throws IOException, AutomationException
getInstanceCount
in interface IServerMachineStatus
access
- A com.esri.arcgis.server.esriAccessLevel constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getInstanceInUseCount(int access) throws IOException, AutomationException
getInstanceInUseCount
in interface IServerMachineStatus
access
- A com.esri.arcgis.server.esriAccessLevel constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isEnabled() throws IOException, AutomationException
isEnabled
in interface IServerMachineStatus
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getNumberOfProcessors() throws IOException, AutomationException
getNumberOfProcessors
in interface IServerMachineInfo
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 |