|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.rubyeye.xmemcached.impl.MemcachedClientStateListenerAdapter
public class MemcachedClientStateListenerAdapter
Adapte MemcachedClientStateListener to yanf4j's ControllStateListener
| Constructor Summary | |
|---|---|
MemcachedClientStateListenerAdapter(MemcachedClientStateListener memcachedClientStateListener,
MemcachedClient memcachedClient)
|
|
| Method Summary | |
|---|---|
MemcachedClient |
getMemcachedClient()
|
MemcachedClientStateListener |
getMemcachedClientStateListener()
|
void |
onAllSessionClosed(Controller acceptor)
When all connections are closed |
void |
onException(Controller acceptor,
java.lang.Throwable t)
|
void |
onReady(Controller acceptor)
When controller is ready |
void |
onStarted(Controller acceptor)
When controller is started |
void |
onStopped(Controller acceptor)
When controller has been stopped |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MemcachedClientStateListenerAdapter(MemcachedClientStateListener memcachedClientStateListener,
MemcachedClient memcachedClient)
| Method Detail |
|---|
public final MemcachedClientStateListener getMemcachedClientStateListener()
public final MemcachedClient getMemcachedClient()
public final void onAllSessionClosed(Controller acceptor)
ControllerStateListener
onAllSessionClosed in interface ControllerStateListener
public final void onException(Controller acceptor,
java.lang.Throwable t)
onException in interface ControllerStateListenerpublic final void onReady(Controller acceptor)
ControllerStateListener
onReady in interface ControllerStateListenerpublic final void onStarted(Controller acceptor)
ControllerStateListener
onStarted in interface ControllerStateListenerpublic final void onStopped(Controller acceptor)
ControllerStateListener
onStopped in interface ControllerStateListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||