org.elasticsearch.index.shard
Class IndexShardManagement
java.lang.Object
org.elasticsearch.index.shard.AbstractIndexShardComponent
org.elasticsearch.index.shard.IndexShardManagement
- All Implemented Interfaces:
- CloseableComponent, IndexShardComponent
public class IndexShardManagement
- extends AbstractIndexShardComponent
- implements CloseableComponent
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndexShardManagement
@Inject
public IndexShardManagement(ShardId shardId,
@IndexSettings
Settings indexSettings,
JmxService jmxService,
IndexShard indexShard,
Store store,
Translog translog)
buildShardGroupName
public static java.lang.String buildShardGroupName(ShardId shardId)
close
public void close()
- Specified by:
close
in interface CloseableComponent
getIndex
public java.lang.String getIndex()
getShardId
public int getShardId()
getStoreSize
public java.lang.String getStoreSize()
getTranslogId
public long getTranslogId()
getTranslogNumberOfOperations
public long getTranslogNumberOfOperations()
getTranslogSize
public java.lang.String getTranslogSize()
getState
public java.lang.String getState()
isPrimary
public boolean isPrimary()
getRoutingState
public java.lang.String getRoutingState()
getNumDocs
public int getNumDocs()
getMaxDoc
public int getMaxDoc()