Module org.elasticsearch.server
Interface BitsetFilterCache.Listener
- Enclosing class:
BitsetFilterCache
public static interface BitsetFilterCache.Listener
A listener interface that is executed for each onCache / onRemoval event
-
Field Summary
Fields -
Method Summary
-
Field Details
-
NOOP
-
-
Method Details
-
onCache
Called for each cached bitset on the cache event.- Parameters:
shardId- the shard id the bitset was cached for. This can benullaccountable- the bitsets ram representation
-
onRemoval
Called for each cached bitset on the removal event.- Parameters:
shardId- the shard id the bitset was cached for. This can benullaccountable- the bitsets ram representation
-