public interface ShardRefCounted
Manages reference counting for
ShardContext.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic ShardRefCountedstatic ShardRefCountedfromShardContext(ShardContext shardContext) org.elasticsearch.core.RefCountedget(int shardId) static ShardRefCountedsingle(int index, org.elasticsearch.core.RefCounted refCounted)
-
Field Details
-
ALWAYS_REFERENCED
-
-
Method Details
-
get
org.elasticsearch.core.RefCounted get(int shardId) - Parameters:
shardId- The shard index used byDocVector.- Returns:
- the
RefCountedfor the given shard. In production, this will almost always be aShardContext.
-
fromList
-
fromShardContext
-
single
-