com.googlecode.hibernate.memcached
Class LoggingMemcacheExceptionHandler

java.lang.Object
  extended by com.googlecode.hibernate.memcached.LoggingMemcacheExceptionHandler
All Implemented Interfaces:
MemcacheExceptionHandler

public class LoggingMemcacheExceptionHandler
extends Object
implements MemcacheExceptionHandler

Author:
Ray Krueger

Constructor Summary
LoggingMemcacheExceptionHandler()
           
 
Method Summary
 void handleErrorOnDelete(String key, Exception e)
           
 void handleErrorOnGet(String key, Exception e)
           
 void handleErrorOnIncr(String key, int factor, int startingValue, Exception e)
           
 void handleErrorOnSet(String key, int cacheTimeSeconds, Object o, Exception e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggingMemcacheExceptionHandler

public LoggingMemcacheExceptionHandler()
Method Detail

handleErrorOnGet

public void handleErrorOnGet(String key,
                             Exception e)
Specified by:
handleErrorOnGet in interface MemcacheExceptionHandler

handleErrorOnSet

public void handleErrorOnSet(String key,
                             int cacheTimeSeconds,
                             Object o,
                             Exception e)
Specified by:
handleErrorOnSet in interface MemcacheExceptionHandler

handleErrorOnDelete

public void handleErrorOnDelete(String key,
                                Exception e)
Specified by:
handleErrorOnDelete in interface MemcacheExceptionHandler

handleErrorOnIncr

public void handleErrorOnIncr(String key,
                              int factor,
                              int startingValue,
                              Exception e)
Specified by:
handleErrorOnIncr in interface MemcacheExceptionHandler


Copyright © 2015. All rights reserved.