com.googlecode.ehcache.annotations
Interface TriggersRemoveAttribute
- All Superinterfaces:
- MethodAttribute
public interface TriggersRemoveAttribute
- extends MethodAttribute
Represents the objects needed to intercept calls to methods annotated
with TriggersRemove
- Author:
- Nicholas Blair
getCacheResolver
TriggersRemoveCacheResolver getCacheResolver()
- Returns:
- The
TriggersRemoveCacheResolver used to determine the Caches to use.
getTriggersRemoveInterceptor
TriggersRemoveInterceptor getTriggersRemoveInterceptor()
- Returns:
- The
TriggersRemoveInterceptor to use when handling intercepted method invocations. Cannot return null.
isRemoveAll
boolean isRemoveAll()
- Returns:
- true if
Ehcache.removeAll() should be called.
getWhen
When getWhen()
- Returns:
- 'when' to run the removeall (before or after the method invocation)
Copyright © 2011. All Rights Reserved.