com.google.code.ssm.providers.xmemcached
Class ReconnectListener

java.lang.Object
  extended by com.google.code.ssm.providers.xmemcached.ReconnectListener
All Implemented Interfaces:
MemcachedClientStateListener

 class ReconnectListener
extends Object
implements MemcachedClientStateListener

Since:
2.0.0
Author:
Jakub BiaƂek

Constructor Summary
ReconnectListener(int maxAwayTime)
           
 
Method Summary
 void onConnected(MemcachedClient memcachedClient, InetSocketAddress inetSocketAddress)
           
 void onDisconnected(MemcachedClient memcachedClient, InetSocketAddress inetSocketAddress)
           
 void onException(MemcachedClient memcachedClient, Throwable throwable)
           
 void onShutDown(MemcachedClient memcachedClient)
           
 void onStarted(MemcachedClient memcachedClient)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReconnectListener

ReconnectListener(int maxAwayTime)
Method Detail

onConnected

public void onConnected(MemcachedClient memcachedClient,
                        InetSocketAddress inetSocketAddress)
Specified by:
onConnected in interface MemcachedClientStateListener

onDisconnected

public void onDisconnected(MemcachedClient memcachedClient,
                           InetSocketAddress inetSocketAddress)
Specified by:
onDisconnected in interface MemcachedClientStateListener

onException

public void onException(MemcachedClient memcachedClient,
                        Throwable throwable)
Specified by:
onException in interface MemcachedClientStateListener

onShutDown

public void onShutDown(MemcachedClient memcachedClient)
Specified by:
onShutDown in interface MemcachedClientStateListener

onStarted

public void onStarted(MemcachedClient memcachedClient)
Specified by:
onStarted in interface MemcachedClientStateListener


Copyright © 2015. All rights reserved.