|
Novell exteNd Messaging Platform 5.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sssw.jbroker.api.transport.TransportPolicyValue
com.sssw.jbroker.api.cluster.ClusterPolicyValue
The ClusterPolicyValue specifies the primary and secondary addresses for the cluster objects as well as the clustering scheme.
The current POA/server only listens for primary address(es). For clustering to work, the same POA should be created on another server, with the alternate address specified here as its primary address, and vice versa.
Field Summary | |
static int |
CUSTOM_SCHEME
Custom clustering scheme. |
static int |
FO_RO_SCHEME
Fail Over clustering scheme for read-only objects. |
static int |
FO_SCHEME
Fail Over clustering scheme. |
static int |
RR_RO_SCHEME
Round Robin Load Balancing scheme for read-only objects. |
static int |
RR_SCHEME
Round Robin Load Balancing scheme. |
Constructor Summary | |
ClusterPolicyValue(TCPAddress[] primaryAddrs,
TCPAddress[] alternateAddrs,
int scheme)
Create a cluster policy value. |
|
ClusterPolicyValue(TCPAddress primaryAddr,
TCPAddress[] alternateAddrs,
int scheme)
Create a cluster policy value. |
Method Summary | |
boolean |
equals(Object other)
|
TCPAddress[] |
getAllAddresses()
Get all the adddresses. |
TCPAddress[] |
getAlternateAddresses()
Get the alternate adddresses. |
int |
getScheme()
Get the clustering scheme. |
Methods inherited from class com.sssw.jbroker.api.transport.TransportPolicyValue |
getPrimaryAddresses |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int RR_SCHEME
public static final int RR_RO_SCHEME
public static final int FO_SCHEME
public static final int FO_RO_SCHEME
public static final int CUSTOM_SCHEME
CustomPolicyController
,
ORB.setCustomPolicyController(com.sssw.jbroker.api.cluster.CustomPolicyController)
,
Constant Field ValuesConstructor Detail |
public ClusterPolicyValue(TCPAddress primaryAddr, TCPAddress[] alternateAddrs, int scheme)
primaryAddr
- the primary address for the POA on the serveralternateAddrs
- the alternate addresses for the POA on other
serversscheme
- clustering schemepublic ClusterPolicyValue(TCPAddress[] primaryAddrs, TCPAddress[] alternateAddrs, int scheme)
primaryAddrs
- the primary addresses for the POA on the serveralternateAddrs
- the alternate addresses for the POA on other
serversscheme
- clustering schemeMethod Detail |
public int getScheme()
public TCPAddress[] getAlternateAddresses()
public TCPAddress[] getAllAddresses()
getAllAddresses
in class TransportPolicyValue
public boolean equals(Object other)
equals
in class TransportPolicyValue
|
Novell exteNd Messaging Platform 5.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |