接口 CacheOperationInvoker

函数接口:
这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。

@FunctionalInterface public interface CacheOperationInvoker
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
  • 嵌套类概要

    嵌套类
    修饰符和类型
    接口
    说明
    static class 
    Wrap any exception thrown while invoking invoke().
  • 方法概要

    修饰符和类型
    方法
    说明
    Invoke the cache operation defined by this instance.