|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.server.ServerCluster
@Deprecated public class ServerCluster
ServerCluster is deprecated as of 9.3.1, Use ServerCluster, ServerCluster allows caching SOM connections to improve performance. The ServerCluster class represents the clustering of SOMs available using the ClusterType {FAIL_OVER|ROUND_ROBIN|NONE}.
Nested Class Summary | |
---|---|
protected class |
ServerCluster.ServerInfo
Deprecated. ServerInfo class represents the server available for clustering. |
Constructor Summary | |
---|---|
ServerCluster(Collection availableResources,
ServerClusterType clusterType)
Deprecated. Initializes the ServerCluster class using the specified resource collection and cluster type. |
|
ServerCluster(Collection availableResources,
ServerClusterType clusterType,
int failRecheckValue)
Deprecated. Initializes the ServerCluster class using the specified resource collection, cluster type and failRecheckCount. |
|
ServerCluster(Collection availableResources,
ServerClusterType clusterType,
String serverObjectName,
String serverObjectType)
Deprecated. Initializes the ServerCluster class using the specified resource collection, cluster type, serverObjectName, serverObjectType. |
|
ServerCluster(Collection availableResources,
ServerClusterType clusterType,
String serverObjectName,
String serverObjectType,
int failRecheckValue,
String domain,
String userName,
String password)
Deprecated. Initializes the ServerCluster class using the specified resource collection, cluster type, serverObjectName, serverObjectType and failRecheckCount. |
|
ServerCluster(Collection availableResources,
ServerClusterType clusterType,
String serverObjectName,
String serverObjectType,
String domain,
String userName,
String password)
Deprecated. Initializes the ServerCluster class using the specified resource collection, cluster type, serverObjectName, serverObjectType and user credentials. |
Method Summary | |
---|---|
void |
addSOM(String machineName)
Deprecated. Adds a Server to the list available for clustering. |
String |
getCurrentHost()
Deprecated. Returns the current host name. |
IServerObjectManager |
getNextSOM()
Deprecated. Returns the IServerObjectManager object from the server. |
ServerClusterType |
getServerClusterType()
Deprecated. Returns the ServerClusterType used for clustering. |
ServerConnection |
getServerConnection()
Deprecated. Returns the ServerConnection object. |
String |
getUserDomain()
Deprecated. |
String |
getUserName()
Deprecated. |
boolean |
hasServers()
Deprecated. Returns if Servers are available for clustering. |
String |
listSOMsAsString()
Deprecated. Returns the server list particapiting in the cluster as String. |
void |
removeSOM(String machineName)
Deprecated. Remove a Server from the list available for clustering. |
void |
setCredentials(String domain,
String userName,
String password)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServerCluster(Collection availableResources, ServerClusterType clusterType)
availableResources
- the resource collectionclusterType
- the cluster ServerClusterType usedpublic ServerCluster(Collection availableResources, ServerClusterType clusterType, String serverObjectName, String serverObjectType)
availableResources
- the resource collectionclusterType
- the cluster ServerClusterType usedserverObjectName
- -the ServerObject configuartion Name, if present checks if this ServerObjectName is present in the SOMserverObjectType
- -the ServerObject configuartion Type, if present checks if this serverObjectType is present in the SOMpublic ServerCluster(Collection availableResources, ServerClusterType clusterType, String serverObjectName, String serverObjectType, String domain, String userName, String password)
availableResources
- the resource collectionclusterType
- the cluster ServerClusterType usedserverObjectName
- -the ServerObject configuartion Name, if present checks if this ServerObjectName is present in the SOMserverObjectType
- -the ServerObject configuartion Type, if present checks if this serverObjectType is present in the SOMdomain
- the domain of the user to impersonateuserName
- the name of the user to impersonatepassword
- the password of the user to impersonatepublic ServerCluster(Collection availableResources, ServerClusterType clusterType, int failRecheckValue)
availableResources
- the resource collectionclusterType
- the cluster ServerClusterType usedfailRecheckValue
- the fail Recheck value used for checking if the server is alive after n bypass rounds
{ default is -1, there will be no checking till all the SOM's particapating in the cluster are failed}.public ServerCluster(Collection availableResources, ServerClusterType clusterType, String serverObjectName, String serverObjectType, int failRecheckValue, String domain, String userName, String password)
availableResources
- the resource collectionclusterType
- the cluster ServerClusterType usedserverObjectName
- -the ServerObject configuartion Name, if present checks if this ServerObjectName is present in the SOMserverObjectType
- -the ServerObject configuartion Type, if present checks if this serverObjectType is present in the SOMfailRecheckValue
- the fail Recheck value used for checking if the server is alive after n bypass rounds
{ default is -1, there will be no checking till all the SOM's particapating in the cluster are failed}.domain
- the domain of the user to impersonateuserName
- the name of the user to impersonatepassword
- the password of the user to impersonateMethod Detail |
---|
public IServerObjectManager getNextSOM() throws SOMNotAvailableException
IServerObjectManager
object from the server.
If ServerObjectName & ServerObjectType is passed in creating the servercluste,
then checks if this ServerObjectName & ServerObjectType is present in this SOM,
else it marks this SOM as not useful and checks in the next avaialble SOM
IServerObjectManager
- the IServerObjectMananger object
SOMNotAvailableException
public boolean hasServers()
public String getCurrentHost()
public ServerConnection getServerConnection()
public void removeSOM(String machineName)
machineName
- as Stringpublic void addSOM(String machineName)
machineName
- as Stringpublic ServerClusterType getServerClusterType()
ServerClusterType
- the ServerClusterTypepublic String listSOMsAsString()
String
- the server list particapiting in the cluster as Stringpublic void setCredentials(String domain, String userName, String password)
public String getUserDomain()
public String getUserName()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |