org.elasticsearch.index.shard
Class IndexShardManagement

java.lang.Object
  extended by org.elasticsearch.index.shard.AbstractIndexShardComponent
      extended by org.elasticsearch.index.shard.IndexShardManagement
All Implemented Interfaces:
CloseableComponent, IndexShardComponent

public class IndexShardManagement
extends AbstractIndexShardComponent
implements CloseableComponent


Field Summary
 
Fields inherited from class org.elasticsearch.index.shard.AbstractIndexShardComponent
componentSettings, indexSettings, logger, shardId
 
Constructor Summary
IndexShardManagement(ShardId shardId, Settings indexSettings, JmxService jmxService, IndexShard indexShard, Store store, Translog translog)
           
 
Method Summary
static String buildShardGroupName(ShardId shardId)
           
 void close()
           
 String getIndex()
           
 int getMaxDoc()
           
 int getNumDocs()
           
 String getRoutingState()
           
 int getShardId()
           
 String getState()
           
 String getStoreSize()
           
 long getTranslogId()
           
 long getTranslogNumberOfOperations()
           
 String getTranslogSize()
           
 boolean isPrimary()
           
 
Methods inherited from class org.elasticsearch.index.shard.AbstractIndexShardComponent
indexSettings, managementGroupName, nodeName, shardId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexShardManagement

@Inject
public IndexShardManagement(ShardId shardId,
                                   @IndexSettings
                                   Settings indexSettings,
                                   JmxService jmxService,
                                   IndexShard indexShard,
                                   Store store,
                                   Translog translog)
Method Detail

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.