|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.cloud.topology.TriadDispatcher<X>
com.caucho.cloud.topology.TriadDispatcherTriple<X>
public class TriadDispatcherTriple<X>
Selects one of the triad members, given the triad owner.
Constructor Summary | |
---|---|
TriadDispatcherTriple(X valueA,
X valueB,
X valueC)
|
Method Summary | |
---|---|
X |
getA()
Returns the member A. |
X |
getB()
Returns the member B. |
X |
getC()
Returns the member C. |
X |
primary(TriadOwner owner)
Returns the primary server. |
X |
secondary(TriadOwner owner)
Returns the primary server. |
X |
tertiary(TriadOwner owner)
Returns the tertiary server. |
Methods inherited from class com.caucho.cloud.topology.TriadDispatcher |
---|
create |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TriadDispatcherTriple(X valueA, X valueB, X valueC)
Method Detail |
---|
public X getA()
getA
in class TriadDispatcher<X>
public X getB()
getB
in class TriadDispatcher<X>
public X getC()
getC
in class TriadDispatcher<X>
public X primary(TriadOwner owner)
primary
in class TriadDispatcher<X>
public X secondary(TriadOwner owner)
secondary
in class TriadDispatcher<X>
public X tertiary(TriadOwner owner)
tertiary
in class TriadDispatcher<X>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |