Class ShardBitsetFilterCache
java.lang.Object
org.elasticsearch.index.shard.AbstractIndexShardComponent
org.elasticsearch.index.cache.bitset.ShardBitsetFilterCache
- All Implemented Interfaces:
IndexShardComponent
public class ShardBitsetFilterCache extends AbstractIndexShardComponent
-
Field Summary
Fields inherited from class org.elasticsearch.index.shard.AbstractIndexShardComponent
indexSettings, logger, shardId
-
Constructor Summary
Constructors Constructor Description ShardBitsetFilterCache(ShardId shardId, IndexSettings indexSettings)
-
Method Summary
Modifier and Type Method Description long
getMemorySizeInBytes()
void
onCached(long sizeInBytes)
void
onRemoval(long sizeInBytes)
Methods inherited from class org.elasticsearch.index.shard.AbstractIndexShardComponent
indexSettings, shardId
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ShardBitsetFilterCache
-
-
Method Details
-
onCached
public void onCached(long sizeInBytes) -
onRemoval
public void onRemoval(long sizeInBytes) -
getMemorySizeInBytes
public long getMemorySizeInBytes()
-