public static interface BitsetFilterCache.Listener
Modifier and Type | Method and Description |
---|---|
void |
onCache(ShardId shardId,
org.apache.lucene.util.Accountable accountable)
Called for each cached bitset on the cache event.
|
void |
onRemoval(ShardId shardId,
org.apache.lucene.util.Accountable accountable)
Called for each cached bitset on the removal event.
|
void onCache(ShardId shardId, org.apache.lucene.util.Accountable accountable)
shardId
- the shard id the bitset was cached for. This can be null
accountable
- the bitsets ram representationvoid onRemoval(ShardId shardId, org.apache.lucene.util.Accountable accountable)
shardId
- the shard id the bitset was cached for. This can be null
accountable
- the bitsets ram representation