|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BuddyLocator
Buddy Locators help the BuddyManager select buddies for its buddy group.
Implementations of this class must declare a public no-arguments constructor.
| Method Summary | |
|---|---|
void |
init(java.util.Properties props)
Initialize this BuddyLocator. |
java.util.List |
locateBuddies(java.util.Map buddyPoolMap,
java.util.List currentMembership,
org.jgroups.stack.IpAddress dataOwner)
Choose a set of buddies for the given node. |
| Method Detail |
|---|
void init(java.util.Properties props)
BuddyLocator.
props - an implementation-specific set of configuration properties.
May be null.
java.util.List locateBuddies(java.util.Map buddyPoolMap,
java.util.List currentMembership,
org.jgroups.stack.IpAddress dataOwner)
buddyPoolMap - MapdataOwner. May be
null if buddy pools aren't configured.currentMembership - ListdataOwner - IpAddress of the node for which buddies should be selected
dataOwner. Will not be null, may
be empty.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||