接口 CacheOperationInvoker
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
Abstract the invocation of a cache operation.
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.
- 从以下版本开始:
- 4.0
- 作者:
- Stephane Nicoll
-
嵌套类概要
嵌套类 -
方法概要
-
方法详细资料
-
invoke
Invoke the cache operation defined by this instance. Wraps any exception that is thrown during the invocation in aCacheOperationInvoker.ThrowableWrapper.- 返回:
- the result of the operation
- 抛出:
CacheOperationInvoker.ThrowableWrapper- if an error occurred while invoking the operation
-