|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.server.ServerMachine
public class ServerMachine
The ServerMachine object which provides information about the ServerMachine.
A ServerMachine is a machine that can host server objects managed by the GIS server.
ArcGIS for Server is a distributed system. Server objects managed by the GIS server can run on one or more host machines. A machine that can host server objects must have the Server Object Container installed on it, and the machine must be added to the list of host machines managed by the ServerObjectManager.
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 | |
---|---|
ServerMachine(Object obj)
Construct a ServerMachine using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
String |
getAdminURL()
The admin URL of the server machine. |
int |
getCapacity()
The number of desired concurrently available configurations (the capacity) of the ArcGIS Server. |
String |
getDescription()
The description of the host machine. |
String |
getName()
The name of the machine that can host server objects for the GIS server. |
String |
getPlatform()
The platform of the server machine. |
int |
getPortCount()
The total count of ports. |
IEnumBSTR |
getPortNames()
The port names. |
int |
getPortNumber(String name)
The port number of a port. |
int |
hashCode()
the hashcode for this object |
void |
setAdminURL(String pUrl)
The admin URL of the server machine. |
void |
setCapacity(int val)
The number of desired concurrently available configurations (the capacity) of the ArcGIS Server. |
void |
setDescription(String desc)
The description of the host machine. |
void |
setName(String name)
The name of the machine that can host server objects for the GIS server. |
void |
setPlatform(String pPlatform)
The platform of the server machine. |
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 ServerMachine(Object obj) throws IOException
obj
to ServerMachine
. *
ServerMachine o = (ServerMachine)obj; // will not work
ServerMachine o = new ServerMachine(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
ServerMachine theServerMachine = (ServerMachine) obj;
Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String getName() throws IOException, AutomationException
getName
in interface IServerMachine
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setName(String name) throws IOException, AutomationException
setName
in interface IServerMachine
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getDescription() throws IOException, AutomationException
getDescription
in interface IServerMachine
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDescription(String desc) throws IOException, AutomationException
setDescription
in interface IServerMachine
desc
- The desc (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getCapacity() throws IOException, AutomationException
The Capacity property defines the number configuration instances on an SOC machine that are allowed to run concurrently before the pool-shrinking algorithm engages. The pool-shrinking algorithm removes least recently used configuration instances and replaces them with new instances. Capacity is dependent on system memory and CPU resources and should be tuned for each machine in the ArcGIS Server.
getCapacity
in interface IServerMachine2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCapacity(int val) throws IOException, AutomationException
setCapacity
in interface IServerMachine2
val
- The val (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getAdminURL() throws IOException, AutomationException
getAdminURL
in interface IServerMachine3
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAdminURL(String pUrl) throws IOException, AutomationException
setAdminURL
in interface IServerMachine3
pUrl
- The pUrl (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getPlatform() throws IOException, AutomationException
getPlatform
in interface IServerMachine3
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPlatform(String pPlatform) throws IOException, AutomationException
setPlatform
in interface IServerMachine3
pPlatform
- The pPlatform (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getPortCount() throws IOException, AutomationException
getPortCount
in interface IServerMachine3
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnumBSTR getPortNames() throws IOException, AutomationException
getPortNames
in interface IServerMachine3
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getPortNumber(String name) throws IOException, AutomationException
getPortNumber
in interface IServerMachine3
name
- The name (in)
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 |