Package | Description |
---|---|
com.caucho.server.cluster |
Modifier and Type | Field and Description |
---|---|
static ClusterPod.Owner[] |
ClusterPod.OWNER_VALUES |
Modifier and Type | Method and Description |
---|---|
static ClusterPod.Owner |
ClusterPod.getOwner(long index)
Returns the owner for an index
|
static ClusterPod.Owner |
ClusterPod.Owner.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClusterPod.Owner[] |
ClusterPod.Owner.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
ClusterServer |
ClusterPod.getActiveOrSelfServer(ClusterPod.Owner owner,
ClusterServer oldServer)
Returns the best primary or secondary triad server.
|
ClusterServer |
ClusterPod.getActiveServer(ClusterPod.Owner owner,
ClusterServer oldServer)
Returns the best primary or secondary triad server.
|
abstract OwnerServerTriad |
ClusterPod.getOwnerServerTriad(ClusterPod.Owner owner)
Returns the OwnerServerTriad for the given owner.
|
ClusterServer |
ClusterPod.getPrimary(ClusterPod.Owner owner)
Returns the primary server given an ownership tag.
|
ClusterServer |
ClusterPod.getSecondary(ClusterPod.Owner owner)
Returns the secondary server given an ownership tag.
|
ClusterServer |
ClusterPod.getTertiary(ClusterPod.Owner owner)
Returns the tertiary server given an ownership tag.
|