com.hazelcast.client.spi.impl
Class ClientClusterServiceImpl

java.lang.Object
  extended by com.hazelcast.client.spi.impl.ClientClusterServiceImpl
All Implemented Interfaces:
ClientClusterService

public class ClientClusterServiceImpl
extends Object
implements ClientClusterService

The ClientClusterService implementation.


Constructor Summary
ClientClusterServiceImpl(HazelcastClientInstanceImpl client)
           
 
Method Summary
 String addMembershipListener(MembershipListener listener)
           
 long getClusterTime()
           
 Client getLocalClient()
           
 Address getMasterAddress()
           
 MemberImpl getMember(Address address)
           
 MemberImpl getMember(String uuid)
           
 Collection<MemberImpl> getMemberList()
           
 int getSize()
           
 boolean removeMembershipListener(String registrationId)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientClusterServiceImpl

public ClientClusterServiceImpl(HazelcastClientInstanceImpl client)
Method Detail

getMember

public MemberImpl getMember(Address address)
Specified by:
getMember in interface ClientClusterService

getMember

public MemberImpl getMember(String uuid)
Specified by:
getMember in interface ClientClusterService

getMemberList

public Collection<MemberImpl> getMemberList()
Specified by:
getMemberList in interface ClientClusterService

getMasterAddress

public Address getMasterAddress()
Specified by:
getMasterAddress in interface ClientClusterService

getSize

public int getSize()
Specified by:
getSize in interface ClientClusterService

getClusterTime

public long getClusterTime()
Specified by:
getClusterTime in interface ClientClusterService

getLocalClient

public Client getLocalClient()
Specified by:
getLocalClient in interface ClientClusterService

addMembershipListener

public String addMembershipListener(MembershipListener listener)
Specified by:
addMembershipListener in interface ClientClusterService

removeMembershipListener

public boolean removeMembershipListener(String registrationId)
Specified by:
removeMembershipListener in interface ClientClusterService

start

public void start()

stop

public void stop()


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.