Package org.graylog2.plugin.lookup
Interface LookupCachePurge
- All Known Implementing Classes:
CachePurge
public interface LookupCachePurge
This is passed into
LookupDataAdapter.doRefresh(LookupCachePurge)
to allow data adapters to prune cache
entries without having to know about the actual cache instances.-
Method Summary
-
Method Details
-
purgeAll
void purgeAll()Purges all entries from the cache. -
purgeKey
Purges only the cache entry for the given key.- Parameters:
key
- cache key to purge
-