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 String buildShardGroupName(ShardId shardId)
close
public void close()
- Specified by:
close
in interface CloseableComponent
getIndex
public String getIndex()
getShardId
public int getShardId()
getStoreSize
public String getStoreSize()
getTranslogId
public long getTranslogId()
getTranslogNumberOfOperations
public long getTranslogNumberOfOperations()
getTranslogSize
public String getTranslogSize()
getState
public String getState()
isPrimary
public boolean isPrimary()
getRoutingState
public String getRoutingState()
getNumDocs
public int getNumDocs()
getMaxDoc
public int getMaxDoc()
Copyright © 2009-2012. All Rights Reserved.