Interface BitsetFilterCache.Listener
-
- Enclosing class:
- BitsetFilterCache
public static interface BitsetFilterCache.ListenerA listener interface that is executed for each onCache / onRemoval event
-
-
Method Detail
-
onCache
void onCache(ShardId shardId, org.apache.lucene.util.Accountable accountable)
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
void onRemoval(ShardId shardId, org.apache.lucene.util.Accountable accountable)
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
-
-