public class TriadDispatcherTriple<X> extends TriadDispatcher<X>
Constructor and Description |
---|
TriadDispatcherTriple(X valueA,
X valueB,
X valueC) |
Modifier and Type | Method and Description |
---|---|
static <T> TriadDispatcher<T> |
create(T valueA,
T valueB,
T valueC) |
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.
|
public static <T> TriadDispatcher<T> create(T valueA, T valueB, T valueC)
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>