com.hazelcast.client
Class LifecycleServiceImpl

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

public final class LifecycleServiceImpl
extends Object
implements LifecycleService


Constructor Summary
LifecycleServiceImpl(HazelcastClient client)
           
 
Method Summary
 String addLifecycleListener(LifecycleListener lifecycleListener)
           
 void fireLifecycleEvent(LifecycleEvent.LifecycleState lifecycleState)
           
 boolean isRunning()
           
 boolean removeLifecycleListener(String registrationId)
           
 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(HazelcastClient 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)

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 © 2014 Hazelcast, Inc.. All Rights Reserved.