接口 CacheOperationInvocationContext<O extends BasicOperation>

类型参数:
O - the operation type
所有已知实现类:
CacheAspectSupport.CacheOperationContext

public interface CacheOperationInvocationContext<O extends BasicOperation>
Representation of the context of the invocation of a cache operation.

The cache operation is static and independent of a particular invocation; this interface gathers the operation and a particular invocation.

从以下版本开始:
4.0
作者:
Stephane Nicoll
  • 方法概要

    修饰符和类型
    方法
    说明
    Return the argument list used to invoke the method.
    Return the method which was invoked.
    Return the cache operation.
    Return the target instance on which the method was invoked.
  • 方法详细资料

    • getOperation

      O getOperation()
      Return the cache operation.
    • getTarget

      Object getTarget()
      Return the target instance on which the method was invoked.
    • getMethod

      Method getMethod()
      Return the method which was invoked.
    • getArgs

      Object[] getArgs()
      Return the argument list used to invoke the method.