public interface ClusterService extends CoreService
Cluster
interface.Modifier and Type | Method and Description |
---|---|
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.
|
MemberImpl getMember(Address address)
address
- the address of the member to lookup.MemberImpl getMember(String uuid)
uuid
- the uuid of the memberCollection<MemberImpl> getMemberList()
Collection<Member> getMembers()
Address getMasterAddress()
boolean isMaster()
Address getThisAddress()
int getSize()
long getClusterTime()
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.