ILifecycleService InterfaceHazelcast .Net Client Class Library
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.7.1
Syntax

public interface ILifecycleService

The ILifecycleService type exposes the following members.

Methods

  NameDescription
Public methodAddLifecycleListener
Add listener object to listen lifecycle events.
Public methodIsRunning
whether the instance is running
Public methodRemoveLifecycleListener
Remove lifecycle listener
Public methodShutdown
gracefully shutdowns IHazelcastInstance.
Public methodTerminate
terminate IHazelcastInstance ungracefully.
Top
See Also

Reference