|
template<typename Handler , typename = util::enable_if_rvalue_ref_t<Handler &&>> |
lifecycle_listener & | on_starting (Handler &&h) & |
| Set an handler function to be invoked when the client is starting. More...
|
|
template<typename Handler , typename = util::enable_if_rvalue_ref_t<Handler &&>> |
lifecycle_listener && | on_starting (Handler &&h) && |
| Set an handler function to be invoked when the client is starting. More...
|
|
template<typename Handler , typename = util::enable_if_rvalue_ref_t<Handler &&>> |
lifecycle_listener & | on_started (Handler &&h) & |
| Set an handler function to be invoked when the client has started. More...
|
|
template<typename Handler , typename = util::enable_if_rvalue_ref_t<Handler &&>> |
lifecycle_listener && | on_started (Handler &&h) && |
| Set an handler function to be invoked when the client has started. More...
|
|
template<typename Handler , typename = util::enable_if_rvalue_ref_t<Handler &&>> |
lifecycle_listener & | on_shutting_down (Handler &&h) & |
| Set an handler function to be invoked when the client is shutting down. More...
|
|
template<typename Handler , typename = util::enable_if_rvalue_ref_t<Handler &&>> |
lifecycle_listener && | on_shutting_down (Handler &&h) && |
| Set an handler function to be invoked when the client is shutting down. More...
|
|
template<typename Handler , typename = util::enable_if_rvalue_ref_t<Handler &&>> |
lifecycle_listener & | on_shutdown (Handler &&h) & |
| Set an handler function to be invoked when the client's shutdown has completed. More...
|
|
template<typename Handler , typename = util::enable_if_rvalue_ref_t<Handler &&>> |
lifecycle_listener && | on_shutdown (Handler &&h) && |
| Set an handler function to be invoked when the client's shutdown has completed. More...
|
|
template<typename Handler , typename = util::enable_if_rvalue_ref_t<Handler &&>> |
lifecycle_listener & | on_connected (Handler &&h) & |
| Set an handler function to be invoked when the client is connected to the cluster. More...
|
|
template<typename Handler , typename = util::enable_if_rvalue_ref_t<Handler &&>> |
lifecycle_listener && | on_connected (Handler &&h) && |
| Set an handler function to be invoked when the client is connected to the cluster. More...
|
|
template<typename Handler , typename = util::enable_if_rvalue_ref_t<Handler &&>> |
lifecycle_listener & | on_disconnected (Handler &&h) & |
| Set an handler function to be invoked when client is disconnected from the cluster. More...
|
|
template<typename Handler , typename = util::enable_if_rvalue_ref_t<Handler &&>> |
lifecycle_listener && | on_disconnected (Handler &&h) && |
| Set an handler function to be invoked when client is disconnected from the cluster. More...
|
|
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.
-
2 - Do not make a call to hazelcast. It can cause a deadlock.
- See also
- LifecycleEvent
-
hazelcast_client::addlifecycle_listener