接口 JCacheOperation<A extends Annotation>

  • 类型参数:
    A - the type of the JSR-107 annotation
    所有超级接口:
    BasicOperation, javax.cache.annotation.CacheMethodDetails<A>

    public interface JCacheOperation<A extends Annotation>
    extends BasicOperation, javax.cache.annotation.CacheMethodDetails<A>
    Model the base of JSR-107 cache operation through an interface contract.

    A cache operation can be statically cached as it does not contain any runtime operation of a specific cache invocation.

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

      所有方法 实例方法 抽象方法 
      修饰符和类型方法说明
      javax.cache.annotation.CacheInvocationParameter[]getAllParameters​(Object... values)
      Return the CacheInvocationParameter instances based on the specified method arguments.
      CacheResolvergetCacheResolver()
      Return the CacheResolver instance to use to resolve the cache to use for this operation.
      • 从接口继承的方法 javax.cache.annotation.CacheMethodDetails

        getAnnotations, getCacheAnnotation, getCacheName, getMethod
    • 方法详细资料

      • getAllParameters

        javax.cache.annotation.CacheInvocationParameter[] getAllParameters​(Object... values)
        Return the CacheInvocationParameter instances based on the specified method arguments.

        The method arguments must match the signature of the related method invocation

        参数:
        values - the parameters value for a particular invocation