protected class

CacheAspectSupport.CacheOperationContext

extends Object
java.lang.Object
   ↳ org.springframework.cache.interceptor.CacheAspectSupport.CacheOperationContext

Summary

Public Constructors
CacheAspectSupport.CacheOperationContext(CacheDefinition operationDefinition, Method method, Object[] args, Class<?> targetClass)
Protected Methods
Object generateKey()
Computes the key for the given caching definition.
Collection<Cache<?, ?>> getCaches()
boolean hasConditionPassed()
Evaluates the definition condition.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public CacheAspectSupport.CacheOperationContext (CacheDefinition operationDefinition, Method method, Object[] args, Class<?> targetClass)

Protected Methods

protected Object generateKey ()

Computes the key for the given caching definition.

Returns
  • generated key (null if none can be generated)

protected Collection<Cache<?, ?>> getCaches ()

protected boolean hasConditionPassed ()

Evaluates the definition condition.