Package com.scaleout.client.caching
Class EventDeliveryExceptionArgs<K,V>
java.lang.Object
com.scaleout.client.caching.EventDeliveryExceptionArgs<K,V>
The EventDeliveryExceptionHandlerArgs class is used to store the NamedCache, Id, and Exception that occurred during
a BackingStore operation.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCache()
TheCache
where aValueFactory
,CacheEntryEraseHandler
,CacheEntryStoreHandler
, orCacheEntryExpirationHandler
threw an exception.abstract Exception
The exception that was unhandled by theValueFactory
,CacheEntryEraseHandler
,CacheEntryStoreHandler
, orCacheEntryExpirationHandler
implementation.abstract K
getKey()
The key of the object for the operation that was in progress.
-
Constructor Details
-
EventDeliveryExceptionArgs
public EventDeliveryExceptionArgs()Default constructor.
-
-
Method Details
-
getCache
TheCache
where aValueFactory
,CacheEntryEraseHandler
,CacheEntryStoreHandler
, orCacheEntryExpirationHandler
threw an exception.- Returns:
- the NamedCache.
-
getKey
The key of the object for the operation that was in progress.- Returns:
- the key that was in use.
-
getException
The exception that was unhandled by theValueFactory
,CacheEntryEraseHandler
,CacheEntryStoreHandler
, orCacheEntryExpirationHandler
implementation.- Returns:
- the exception that was thrown.
-