com.hazelcast.client.spi
public interface ClientClusterService
Modifier and Type | Method and Description |
---|---|
String |
addMembershipListener(MembershipListener listener) |
long |
getClusterTime()
Returns the cluster-time.
|
Client |
getLocalClient() |
Address |
getMasterAddress()
Returns the address of the master member.
|
Member |
getMember(Address address)
Gets the member for the given address.
|
Member |
getMember(String uuid)
Gets the member with the given uuid.
|
Collection<Member> |
getMemberList()
Gets the collection of members.
|
Address |
getOwnerConnectionAddress()
Owner connection is opened to owner member of the client in the cluster.
|
int |
getSize()
Gets the current number of members.
|
boolean |
removeMembershipListener(String registrationId) |
Client getLocalClient()
Member getMember(Address address)
address
- the address of the member to lookup.Member getMember(String uuid)
uuid
- the uuid of the memberCollection<Member> getMemberList()
Address getMasterAddress()
int getSize()
long getClusterTime()
String addMembershipListener(MembershipListener listener)
listener
- to be registeredboolean removeMembershipListener(String registrationId)
registrationId
- of listenerAddress getOwnerConnectionAddress()
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.