public interface CacheOperationInvoker
Does not provide a way to transmit checked exceptions but provide a special exception that should be used to wrap any exception that was thrown by the underlying invocation. Callers are expected to handle this issue type specifically.
Modifier and Type | Interface and Description |
---|---|
static class |
CacheOperationInvoker.ThrowableWrapper
Wrap any exception thrown while invoking
invoke() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
invoke()
Invoke the cache operation defined by this instance.
|
java.lang.Object invoke() throws CacheOperationInvoker.ThrowableWrapper
CacheOperationInvoker.ThrowableWrapper
.CacheOperationInvoker.ThrowableWrapper
- if an error occurred while invoking the operation