public class TriadDispatcher<X>
extends java.lang.Object
Constructor and Description |
---|
TriadDispatcher() |
Modifier and Type | Method and Description |
---|---|
static <T> TriadDispatcher<T> |
create(T a,
T b,
T c) |
X |
getA()
Returns member A
|
X |
getB()
Returns member B
|
X |
getC()
Returns member C
|
X |
primary(TriadOwner owner)
Returns the primary server.
|
X |
secondary(TriadOwner owner)
Returns the secondary server.
|
X |
tertiary(TriadOwner owner)
Returns the tertiary server.
|
public static <T> TriadDispatcher<T> create(T a, T b, T c)
public X getA()
public X getB()
public X getC()
public X primary(TriadOwner owner)
public X secondary(TriadOwner owner)
public X tertiary(TriadOwner owner)