public interface

CacheDefinition

org.springframework.cache.interceptor.CacheDefinition
Known Indirect Subclasses

Class Overview

Interface describing Spring-compliant caching operation.

Summary

Public Methods
abstract Set<String> getCacheNames()
Returns the names of the cache against which this operation is performed.
abstract String getCondition()
Returns the SpEL expression conditioning the operation.
abstract String getKey()
Returns the SpEL expression identifying the cache key.
abstract String getName()
Returns the name of this operation.

Public Methods

public abstract Set<String> getCacheNames ()

Returns the names of the cache against which this operation is performed.

Returns
  • names of the cache on which the operation is performed.

public abstract String getCondition ()

Returns the SpEL expression conditioning the operation.

Returns
  • operation condition (as SpEL expression).

public abstract String getKey ()

Returns the SpEL expression identifying the cache key.

public abstract String getName ()

Returns the name of this operation. Can be null. In case of Spring's declarative caching, the exposed name will be: fully qualified class name.method name.

Returns
  • the operation name