ILifecycleService allows you to shutdown, terminate and listen to
LifecycleEvent
's
on IHazelcastInstance.
Namespace: Hazelcast.Core
Assembly: Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.8.1
Syntax
The ILifecycleService type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | AddLifecycleListener | Add listener object to listen lifecycle events. |
![]() | IsRunning | whether the instance is running |
![]() | RemoveLifecycleListener | Remove lifecycle listener |
![]() | Shutdown | gracefully shutdowns IHazelcastInstance. |
![]() | Terminate | terminate IHazelcastInstance ungracefully. |
See Also