public class ServerClusterType
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
description
Description of cluster type as String.
|
static ServerClusterType |
FAIL_OVER
The Servers in the cluster are used in the Failover Mode.
|
static ServerClusterType |
NONE
No cluster type supported, only the first one in the list is used.
|
static ServerClusterType |
ROUND_ROBIN
The Servers in the cluster are used in the RoundRobin Mode.
|
protected java.lang.String |
type
Cluster type as String.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object clusterType)
Overriding the equals method for this class.
|
java.lang.String |
getDescription()
Returns the cluster description.
|
java.lang.String |
getType()
Returns the cluster type used.
|
protected java.lang.String type
protected java.lang.String description
public static final ServerClusterType NONE
public static final ServerClusterType FAIL_OVER
public static final ServerClusterType ROUND_ROBIN
public java.lang.String getType()
String
- the cluster typepublic java.lang.String getDescription()
String
- the cluster descriptionpublic boolean equals(java.lang.Object clusterType)
equals
in class java.lang.Object