org.elasticsearch.action.admin.indices.status
Class IndexShardStatus

java.lang.Object
  extended by org.elasticsearch.action.admin.indices.status.IndexShardStatus
All Implemented Interfaces:
java.lang.Iterable<ShardStatus>

public class IndexShardStatus
extends java.lang.Object
implements java.lang.Iterable<ShardStatus>


Method Summary
 DocsStatus docs()
           
 ShardStatus getAt(int position)
           
 DocsStatus getDocs()
           
 MergeStats getMergeStats()
          Total merges of this shard replication group.
 ByteSizeValue getPrimaryStoreSize()
          Returns only the primary shards store size in bytes.
 RefreshStats getRefreshStats()
           
 ShardId getShardId()
           
 ShardStatus[] getShards()
           
 ByteSizeValue getStoreSize()
          Returns the full store size in bytes, of both primaries and replicas.
 long getTranslogOperations()
           
 java.util.Iterator<ShardStatus> iterator()
           
 MergeStats mergeStats()
          Total merges of this shard replication group.
 ByteSizeValue primaryStoreSize()
          Returns only the primary shards store size in bytes.
 RefreshStats refreshStats()
           
 ShardId shardId()
           
 ShardStatus[] shards()
           
 ByteSizeValue storeSize()
          Returns the full store size in bytes, of both primaries and replicas.
 long translogOperations()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

shardId

public ShardId shardId()

getShardId

public ShardId getShardId()

shards

public ShardStatus[] shards()

getShards

public ShardStatus[] getShards()

getAt

public ShardStatus getAt(int position)

primaryStoreSize

public ByteSizeValue primaryStoreSize()
Returns only the primary shards store size in bytes.


getPrimaryStoreSize

public ByteSizeValue getPrimaryStoreSize()
Returns only the primary shards store size in bytes.


storeSize

public ByteSizeValue storeSize()
Returns the full store size in bytes, of both primaries and replicas.


getStoreSize

public ByteSizeValue getStoreSize()
Returns the full store size in bytes, of both primaries and replicas.


translogOperations

public long translogOperations()

getTranslogOperations

public long getTranslogOperations()

docs

public DocsStatus docs()

getDocs

public DocsStatus getDocs()

mergeStats

public MergeStats mergeStats()
Total merges of this shard replication group.


getMergeStats

public MergeStats getMergeStats()
Total merges of this shard replication group.


refreshStats

public RefreshStats refreshStats()

getRefreshStats

public RefreshStats getRefreshStats()

iterator

public java.util.Iterator<ShardStatus> iterator()
Specified by:
iterator in interface java.lang.Iterable<ShardStatus>