public interface InvalidatableCachingStrategy
CachingStrategy
Modifier and Type | Method and Description |
---|---|
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.
|
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 strategyIllegalArgumentException
- if key has an invalid valueCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.