Package com.danga.MemCached
Interface ErrorHandler
public interface ErrorHandler
-
Method Summary
Modifier and TypeMethodDescriptionvoidhandleErrorOnDelete(MemCachedClient client, Throwable error, String cacheKey) Called for errors thrown duringMemCachedClient.delete(String)and related methods.voidhandleErrorOnFlush(MemCachedClient client, Throwable error) Called for errors thrown duringMemCachedClient.flushAll()and related methods.voidhandleErrorOnGet(MemCachedClient client, Throwable error, String cacheKey) Called for errors thrown duringMemCachedClient.get(String)and related methods.voidhandleErrorOnGet(MemCachedClient client, Throwable error, String[] cacheKeys) Called for errors thrown duringMemCachedClient#getMulti(String)and related methods.voidhandleErrorOnInit(MemCachedClient client, Throwable error) Called for errors thrown during initialization.voidhandleErrorOnSet(MemCachedClient client, Throwable error, String cacheKey) Called for errors thrown duringMemCachedClient.set(String,Object)and related methods.voidhandleErrorOnStats(MemCachedClient client, Throwable error) Called for errors thrown duringMemCachedClient.stats()and related methods.
-
Method Details
-
handleErrorOnInit
Called for errors thrown during initialization. -
handleErrorOnGet
Called for errors thrown duringMemCachedClient.get(String)and related methods. -
handleErrorOnGet
Called for errors thrown duringMemCachedClient#getMulti(String)and related methods. -
handleErrorOnSet
Called for errors thrown duringMemCachedClient.set(String,Object)and related methods. -
handleErrorOnDelete
Called for errors thrown duringMemCachedClient.delete(String)and related methods. -
handleErrorOnFlush
Called for errors thrown duringMemCachedClient.flushAll()and related methods. -
handleErrorOnStats
Called for errors thrown duringMemCachedClient.stats()and related methods.
-