com.hazelcast.client.impl
Class LifecycleServiceImpl

java.lang.Object
  extended by com.hazelcast.client.impl.LifecycleServiceImpl
All Implemented Interfaces:
LifecycleService

public final class LifecycleServiceImpl
extends Object
implements LifecycleService

Default LifecycleService implementation for the client.


Constructor Summary
LifecycleServiceImpl(HazelcastClientInstanceImpl client)
           
 
Method Summary
 String addLifecycleListener(LifecycleListener lifecycleListener)
           
 void fireLifecycleEvent(LifecycleEvent.LifecycleState lifecycleState)
           
 boolean isRunning()
           
 boolean removeLifecycleListener(String registrationId)
           
 void setStarted()
           
 void shutdown()
           
 void terminate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LifecycleServiceImpl

public LifecycleServiceImpl(HazelcastClientInstanceImpl client)
Method Detail

addLifecycleListener

public String addLifecycleListener(LifecycleListener lifecycleListener)
Specified by:
addLifecycleListener in interface LifecycleService

removeLifecycleListener

public boolean removeLifecycleListener(String registrationId)
Specified by:
removeLifecycleListener in interface LifecycleService

fireLifecycleEvent

public void fireLifecycleEvent(LifecycleEvent.LifecycleState lifecycleState)

setStarted

public void setStarted()

isRunning

public boolean isRunning()
Specified by:
isRunning in interface LifecycleService

shutdown

public void shutdown()
Specified by:
shutdown in interface LifecycleService

terminate

public void terminate()
Specified by:
terminate in interface LifecycleService


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