com.hazelcast.core
Interface LifecycleService


public interface LifecycleService

LifecycleService allows you to shutdown, restart, pause and resume an HazelcastInstance. LifecycleListeners also can be added to listen for lifecycle state changes.


Method Summary
 void addLifecycleListener(LifecycleListener lifecycleListener)
           
 boolean isRunning()
           
 void kill()
           
 boolean pause()
           
 void removeLifecycleListener(LifecycleListener lifecycleListener)
           
 void restart()
           
 boolean resume()
           
 void shutdown()
           
 

Method Detail

kill

void kill()

shutdown

void shutdown()

pause

boolean pause()

resume

boolean resume()

restart

void restart()

addLifecycleListener

void addLifecycleListener(LifecycleListener lifecycleListener)

removeLifecycleListener

void removeLifecycleListener(LifecycleListener lifecycleListener)

isRunning

boolean isRunning()


Copyright © 2008-2012 Hazel Ltd. All Rights Reserved.