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.
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.