public interface MemcachedClientStateListener
| 限定符和类型 | 方法和说明 |
|---|---|
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 © 2013. All Rights Reserved.