public interface MemcachedClientStateListener
Modifier and Type | Method and Description |
---|---|
void |
onConnected(MemcachedClient memcachedClient,
InetSocketAddress inetSocketAddress)
After a memcached server is connected,don't do any operations may block here.
|
void |
onDisconnected(MemcachedClient memcachedClient,
InetSocketAddress inetSocketAddress)
After a memcached server is disconnected,don't do any operations may block here.
|
void |
onException(MemcachedClient memcachedClient,
Throwable throwable)
When exceptions occur
|
void |
onShutDown(MemcachedClient memcachedClient)
After client is shutdown.
|
void |
onStarted(MemcachedClient memcachedClient)
After client is started.
|
void onStarted(MemcachedClient memcachedClient)
memcachedClient
- void onShutDown(MemcachedClient memcachedClient)
memcachedClient
- void onConnected(MemcachedClient memcachedClient, InetSocketAddress inetSocketAddress)
memcachedClient
- inetSocketAddress
- void onDisconnected(MemcachedClient memcachedClient, InetSocketAddress inetSocketAddress)
memcachedClient
- inetSocketAddress
- void onException(MemcachedClient memcachedClient, Throwable throwable)
memcachedClient
- throwable
- Copyright © 2021. All rights reserved.