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

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

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


Method Summary
 DocsStatus docs()
           
 DocsStatus getDocs()
           
 java.lang.String getIndex()
           
 MergeStats getMergeStats()
          Total merges of this index.
 ByteSizeValue getPrimaryStoreSize()
          Returns only the primary shards store size in bytes.
 RefreshStats getRefreshStats()
           
 java.util.Map<java.lang.Integer,IndexShardStatus> getShards()
           
 ByteSizeValue getStoreSize()
          Returns the full store size in bytes, of both primaries and replicas.
 long getTranslogOperations()
           
 java.lang.String index()
           
 java.util.Iterator<IndexShardStatus> iterator()
           
 MergeStats mergeStats()
          Total merges of this index.
 ByteSizeValue primaryStoreSize()
          Returns only the primary shards store size in bytes.
 RefreshStats refreshStats()
           
 java.util.Map<java.lang.Integer,IndexShardStatus> shards()
          A shard id to index shard status map (note, index shard status is the replication shard group that maps to the shard id).
 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

index

public java.lang.String index()

getIndex

public java.lang.String getIndex()

shards

public java.util.Map<java.lang.Integer,IndexShardStatus> shards()
A shard id to index shard status map (note, index shard status is the replication shard group that maps to the shard id).


getShards

public java.util.Map<java.lang.Integer,IndexShardStatus> getShards()

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 index.


getMergeStats

public MergeStats getMergeStats()
Total merges of this index.


refreshStats

public RefreshStats refreshStats()

getRefreshStats

public RefreshStats getRefreshStats()

iterator

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