org.elasticsearch.action.admin.indices.gateway.snapshot
Class IndexGatewaySnapshotResponse

java.lang.Object
  extended by org.elasticsearch.action.admin.indices.gateway.snapshot.IndexGatewaySnapshotResponse
All Implemented Interfaces:
ActionResponse, Streamable

public class IndexGatewaySnapshotResponse
extends java.lang.Object
implements ActionResponse, Streamable

An index level gateway snapshot response.


Method Summary
 int failedShards()
          The number of failed shards the gateway snapshot operation was performed on.
 int getFailedShards()
          The number of failed shards the gateway snapshot operation was performed on.
 java.lang.String getIndex()
          The index the gateway snapshot has performed on.
 int getSuccessfulShards()
          The number of successful shards the gateway snapshot operation was performed on.
 int getTotalShards()
          The number of total shards the gateway snapshot operation was performed on.
 java.lang.String index()
          The index the gateway snapshot has performed on.
 void readFrom(StreamInput in)
           
 int successfulShards()
          The number of successful shards the gateway snapshot operation was performed on.
 int totalShards()
          The number of total shards the gateway snapshot operation was performed on.
 void writeTo(StreamOutput out)
           
 
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()
The index the gateway snapshot has performed on.


getIndex

public java.lang.String getIndex()
The index the gateway snapshot has performed on.


successfulShards

public int successfulShards()
The number of successful shards the gateway snapshot operation was performed on.


getSuccessfulShards

public int getSuccessfulShards()
The number of successful shards the gateway snapshot operation was performed on.


failedShards

public int failedShards()
The number of failed shards the gateway snapshot operation was performed on.


getFailedShards

public int getFailedShards()
The number of failed shards the gateway snapshot operation was performed on.


totalShards

public int totalShards()
The number of total shards the gateway snapshot operation was performed on.


getTotalShards

public int getTotalShards()
The number of total shards the gateway snapshot operation was performed on.


readFrom

public void readFrom(StreamInput in)
              throws java.io.IOException
Specified by:
readFrom in interface Streamable
Throws:
java.io.IOException

writeTo

public void writeTo(StreamOutput out)
             throws java.io.IOException
Specified by:
writeTo in interface Streamable
Throws:
java.io.IOException