com.esri.arcgis.server
Class ServerCluster

java.lang.Object
  extended by com.esri.arcgis.server.ServerCluster

Deprecated.

@Deprecated
public class ServerCluster
extends java.lang.Object

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(java.util.Collection availableResources, ServerClusterType clusterType)
          Deprecated. Initializes the ServerCluster class using the specified resource collection and cluster type.
ServerCluster(java.util.Collection availableResources, ServerClusterType clusterType, int failRecheckValue)
          Deprecated. Initializes the ServerCluster class using the specified resource collection, cluster type and failRecheckCount.
ServerCluster(java.util.Collection availableResources, ServerClusterType clusterType, java.lang.String serverObjectName, java.lang.String serverObjectType)
          Deprecated. Initializes the ServerCluster class using the specified resource collection, cluster type, serverObjectName, serverObjectType.
ServerCluster(java.util.Collection availableResources, ServerClusterType clusterType, java.lang.String serverObjectName, java.lang.String serverObjectType, int failRecheckValue, java.lang.String domain, java.lang.String userName, java.lang.String password)
          Deprecated. Initializes the ServerCluster class using the specified resource collection, cluster type, serverObjectName, serverObjectType and failRecheckCount.
ServerCluster(java.util.Collection availableResources, ServerClusterType clusterType, java.lang.String serverObjectName, java.lang.String serverObjectType, java.lang.String domain, java.lang.String userName, java.lang.String password)
          Deprecated. Initializes the ServerCluster class using the specified resource collection, cluster type, serverObjectName, serverObjectType and user credentials.
 
Method Summary
 void addSOM(java.lang.String machineName)
          Deprecated. Adds a Server to the list available for clustering.
 java.lang.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.
 java.lang.String getUserDomain()
          Deprecated.  
 java.lang.String getUserName()
          Deprecated.  
 boolean hasServers()
          Deprecated. Returns if Servers are available for clustering.
 java.lang.String listSOMsAsString()
          Deprecated. Returns the server list particapiting in the cluster as String.
 void removeSOM(java.lang.String machineName)
          Deprecated. Remove a Server from the list available for clustering.
 void setCredentials(java.lang.String domain, java.lang.String userName, java.lang.String password)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerCluster

public ServerCluster(java.util.Collection availableResources,
                     ServerClusterType clusterType)
Deprecated. 
Initializes the ServerCluster class using the specified resource collection and cluster type.

Parameters:
availableResources - the resource collection
clusterType - the cluster ServerClusterType used

ServerCluster

public ServerCluster(java.util.Collection availableResources,
                     ServerClusterType clusterType,
                     java.lang.String serverObjectName,
                     java.lang.String serverObjectType)
Deprecated. 
Initializes the ServerCluster class using the specified resource collection, cluster type, serverObjectName, serverObjectType.

Parameters:
availableResources - the resource collection
clusterType - the cluster ServerClusterType used
serverObjectName - -the ServerObject configuartion Name, if present checks if this ServerObjectName is present in the SOM
serverObjectType - -the ServerObject configuartion Type, if present checks if this serverObjectType is present in the SOM

ServerCluster

public ServerCluster(java.util.Collection availableResources,
                     ServerClusterType clusterType,
                     java.lang.String serverObjectName,
                     java.lang.String serverObjectType,
                     java.lang.String domain,
                     java.lang.String userName,
                     java.lang.String password)
Deprecated. 
Initializes the ServerCluster class using the specified resource collection, cluster type, serverObjectName, serverObjectType and user credentials.

Parameters:
availableResources - the resource collection
clusterType - the cluster ServerClusterType used
serverObjectName - -the ServerObject configuartion Name, if present checks if this ServerObjectName is present in the SOM
serverObjectType - -the ServerObject configuartion Type, if present checks if this serverObjectType is present in the SOM
domain - the domain of the user to impersonate
userName - the name of the user to impersonate
password - the password of the user to impersonate

ServerCluster

public ServerCluster(java.util.Collection availableResources,
                     ServerClusterType clusterType,
                     int failRecheckValue)
Deprecated. 
Initializes the ServerCluster class using the specified resource collection, cluster type and failRecheckCount.

Parameters:
availableResources - the resource collection
clusterType - the cluster ServerClusterType used
failRecheckValue - 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}.

ServerCluster

public ServerCluster(java.util.Collection availableResources,
                     ServerClusterType clusterType,
                     java.lang.String serverObjectName,
                     java.lang.String serverObjectType,
                     int failRecheckValue,
                     java.lang.String domain,
                     java.lang.String userName,
                     java.lang.String password)
Deprecated. 
Initializes the ServerCluster class using the specified resource collection, cluster type, serverObjectName, serverObjectType and failRecheckCount.

Parameters:
availableResources - the resource collection
clusterType - the cluster ServerClusterType used
serverObjectName - -the ServerObject configuartion Name, if present checks if this ServerObjectName is present in the SOM
serverObjectType - -the ServerObject configuartion Type, if present checks if this serverObjectType is present in the SOM
failRecheckValue - 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 impersonate
userName - the name of the user to impersonate
password - the password of the user to impersonate
Method Detail

getNextSOM

public IServerObjectManager getNextSOM()
                                throws SOMNotAvailableException
Deprecated. 
Returns the 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

Returns:
IServerObjectManager- the IServerObjectMananger object
Throws:
SOMNotAvailableException

hasServers

public boolean hasServers()
Deprecated. 
Returns if Servers are available for clustering.

Returns:
boolean- if true, servers are present.

getCurrentHost

public java.lang.String getCurrentHost()
Deprecated. 
Returns the current host name.

Returns:
String

getServerConnection

public ServerConnection getServerConnection()
Deprecated. 
Returns the ServerConnection object.

Returns:
ServerConnection

removeSOM

public void removeSOM(java.lang.String machineName)
Deprecated. 
Remove a Server from the list available for clustering.

Parameters:
machineName - as String

addSOM

public void addSOM(java.lang.String machineName)
Deprecated. 
Adds a Server to the list available for clustering.

Parameters:
machineName - as String

getServerClusterType

public ServerClusterType getServerClusterType()
Deprecated. 
Returns the ServerClusterType used for clustering.

Returns:
ServerClusterType- the ServerClusterType

listSOMsAsString

public java.lang.String listSOMsAsString()
Deprecated. 
Returns the server list particapiting in the cluster as String.

Returns:
String- the server list particapiting in the cluster as String

setCredentials

public void setCredentials(java.lang.String domain,
                           java.lang.String userName,
                           java.lang.String password)
Deprecated. 

getUserDomain

public java.lang.String getUserDomain()
Deprecated. 

getUserName

public java.lang.String getUserName()
Deprecated.