|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
com.tangosol.net.partition.SimpleAssignmentStrategy.BackupStrength
protected static class SimpleAssignmentStrategy.BackupStrength
BackupStrength represents a level of "strength" or "resiliency" between the primary and backup owners of a partition. The BackupStrength is used to determine which backup owners could serve as a "strong" backup for a primary owner.
| Field Summary | |
|---|---|
protected int |
m_nStrengthThe strength (one of the *_SAFE constants). |
protected static int |
MACHINE_SAFEMachine-safety (members are on different machines). |
protected static int |
NODE_SAFENode-safety (members are different). |
protected static int |
RACK_SAFERack-safety (members are on different racks). |
protected static int |
SITE_SAFESite-safety (members are on different sites). |
| Constructor Summary | |
|---|---|
protected |
SimpleAssignmentStrategy.BackupStrength(int nStrength)Construct a BackupStrength of the specified strength. |
| Method Summary | |
|---|---|
java.lang.String |
getDescription()Return a human-readable description string of this backup-strength. |
protected boolean |
isStrong(Member member1, Member member2)Return true iff the specified members are mutually "strong". |
java.lang.String |
toString() |
| Field Detail |
|---|
protected static final int NODE_SAFE
protected static final int MACHINE_SAFE
protected static final int RACK_SAFE
protected static final int SITE_SAFE
protected int m_nStrength
| Constructor Detail |
|---|
protected SimpleAssignmentStrategy.BackupStrength(int nStrength)
nStrength - one of the BackupStrength.*_SAFE constants| Method Detail |
|---|
protected boolean isStrong(Member member1,
Member member2)
member1 - the first member to comparemember2 - the second member to comparepublic java.lang.String getDescription()
public java.lang.String toString()
|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||