Package com.danga.MemCached
Interface ErrorHandler
public interface ErrorHandler
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handleErrorOnDelete
(MemCachedClient client, Throwable error, String cacheKey) Called for errors thrown duringMemCachedClient.delete(String)
and related methods.void
handleErrorOnFlush
(MemCachedClient client, Throwable error) Called for errors thrown duringMemCachedClient.flushAll()
and related methods.void
handleErrorOnGet
(MemCachedClient client, Throwable error, String cacheKey) Called for errors thrown duringMemCachedClient.get(String)
and related methods.void
handleErrorOnGet
(MemCachedClient client, Throwable error, String[] cacheKeys) Called for errors thrown duringMemCachedClient#getMulti(String)
and related methods.void
handleErrorOnInit
(MemCachedClient client, Throwable error) Called for errors thrown during initialization.void
handleErrorOnSet
(MemCachedClient client, Throwable error, String cacheKey) Called for errors thrown duringMemCachedClient.set(String,Object)
and related methods.void
handleErrorOnStats
(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.
-