|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.server.cluster.OwnerServerTriad
public final class OwnerServerTriad
The primary,secondary,tertiary for a ClusterTriad.Owner
Constructor Summary | |
---|---|
OwnerServerTriad(ClusterServer primary,
ClusterServer secondary,
ClusterServer tertiary)
Creates the server triad for a ClusterTriad.Owner |
Method Summary | |
---|---|
ClusterServer |
getActiveOrSelfServer(ClusterServer oldServer)
Returns the best primary or secondary triad server. |
ClusterServer |
getActiveServer(ClusterServer oldServer)
Returns the best primary or secondary triad server. |
ClusterServer |
getPrimary()
Returns the primary for this ownership triad. |
ClusterServer |
getPrimaryIfActiveRemote()
Returns the primary if it is active, i.e. |
ClusterServer |
getPrimaryIfRemote()
Returns the primary if it is remote, i.e. |
ClusterServer |
getSecondary()
Returns the secondary for this ownership triad. |
ClusterServer |
getSecondaryIfActiveRemote()
Returns the secondary if it is remote, i.e. |
ClusterServer |
getSecondaryIfRemote()
Returns the secondary if it is remote, i.e. |
ClusterServer |
getTertiary()
Returns the tertiary for this ownership triad. |
ClusterServer |
getTertiaryIfActiveRemote()
Returns the tertiary if it is remote, i.e. |
ClusterServer |
getTertiaryIfRemote()
Returns the tertiary if it is remote, i.e. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OwnerServerTriad(ClusterServer primary, ClusterServer secondary, ClusterServer tertiary)
Method Detail |
---|
public final ClusterServer getPrimary()
public final ClusterServer getSecondary()
public final ClusterServer getTertiary()
public final ClusterServer getPrimaryIfRemote()
public final ClusterServer getSecondaryIfRemote()
public final ClusterServer getTertiaryIfRemote()
public final ClusterServer getPrimaryIfActiveRemote()
public final ClusterServer getSecondaryIfActiveRemote()
public final ClusterServer getTertiaryIfActiveRemote()
public ClusterServer getActiveServer(ClusterServer oldServer)
public ClusterServer getActiveOrSelfServer(ClusterServer oldServer)
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |