|
||||||||||
| 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.TriadDispatcherDouble<X>
public class TriadDispatcherDouble<X>
Selects one of the triad members, given the triad owner.
| Constructor Summary | |
|---|---|
TriadDispatcherDouble(X valueA,
X valueB)
|
|
| Method Summary | |
|---|---|
X |
getA()
Returns the member A. |
X |
getB()
Returns the member B. |
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 |
|---|
getC |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TriadDispatcherDouble(X valueA,
X valueB)
| Method Detail |
|---|
public X getA()
getA in class TriadDispatcher<X>public X getB()
getB 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 | |||||||||