|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InvalidatableCachingStrategy
Provides invalidation capability to a CachingStrategy
Method Summary | |
---|---|
void |
invalidate()
Invalidates all the entries in the cache |
void |
invalidate(Serializable key)
Invalidates a given entry from the cache if it exists, otherwise ignores it. |
Method Detail |
---|
void invalidate()
InvalidateCacheException
- if there is any error invalidating the cache strategyvoid invalidate(Serializable key) throws InvalidateCacheException
key
- indicates the cache entry to invalidate. Cannot be null.
InvalidateCacheException
- if there is any error invalidating the cache strategy
IllegalArgumentException
- if key has an invalid value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |