Hazelcast C++ Client
 All Classes Functions Variables Enumerations Enumerator Pages
Public Member Functions | List of all members
hazelcast::client::LifecycleListener Class Referenceabstract

Listener object for listening lifecycle events of hazelcast instance. More...

#include <LifecycleListener.h>

Public Member Functions

virtual void stateChanged (const LifecycleEvent &lifecycleEvent)=0
 Called when instance's state changes. More...
 

Detailed Description

Listener object for listening lifecycle events of hazelcast instance.

Warning 1: If listener should do a time consuming operation, off-load the operation to another thread. otherwise it will slow down the system.

Warning 2: Do not make a call to hazelcast. It can cause deadlock.

See Also
LifecycleEvent
HazelcastClient::addLifecycleListener(LifecycleListener *lifecycleListener)

Member Function Documentation

virtual void hazelcast::client::LifecycleListener::stateChanged ( const LifecycleEvent lifecycleEvent)
pure virtual

Called when instance's state changes.

Parameters
lifecycleEventLifecycleEvent

The documentation for this class was generated from the following files: