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()
           
 ByteSizeValue getPrimaryStoreSize()
          Returns only the primary shards store size in bytes.
 Settings getSettings()
           
 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()
           
 ByteSizeValue primaryStoreSize()
          Returns only the primary shards store size in bytes.
 Settings settings()
           
 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()

settings

public Settings settings()

getSettings

public Settings getSettings()

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()

iterator

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