|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClusterService
A service responsible for member related functionality. So members joining, leaving etc.
This API is an internal API; the end user will use theCluster
interface.
Method Summary | |
---|---|
long |
getClusterTime()
Returns the cluster-time. |
Address |
getMasterAddress()
Returns the address of the master member. |
MemberImpl |
getMember(Address address)
Gets the member for the given address. |
MemberImpl |
getMember(String uuid)
Gets the member with the given uuid. |
Collection<MemberImpl> |
getMemberList()
Gets the collection of members. |
Collection<Member> |
getMembers()
Returns a collection of all members part of the cluster. |
int |
getSize()
Gets the current number of members. |
Address |
getThisAddress()
Gets the address of this member. |
boolean |
isMaster()
Checks if this member is the master. |
Method Detail |
---|
MemberImpl getMember(Address address)
address
- the address of the member to lookup.
MemberImpl getMember(String uuid)
uuid
- the uuid of the member
Collection<MemberImpl> getMemberList()
Collection<Member> getMembers()
Address getMasterAddress()
boolean isMaster()
Address getThisAddress()
int getSize()
long getClusterTime()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |