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

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

public class GatewaySnapshotResponse
extends java.lang.Object
implements ActionResponse, Streamable, java.lang.Iterable<IndexGatewaySnapshotResponse>

Reponse for the gateway snapshot action.


Method Summary
 IndexGatewaySnapshotResponse index(java.lang.String index)
          The index level gateway snapshot response for the given index.
 java.util.Map<java.lang.String,IndexGatewaySnapshotResponse> indices()
          A map of index level responses of the gateway snapshot operation.
 java.util.Iterator<IndexGatewaySnapshotResponse> iterator()
           
 void readFrom(StreamInput in)
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

iterator

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

indices

public java.util.Map<java.lang.String,IndexGatewaySnapshotResponse> indices()
A map of index level responses of the gateway snapshot operation.


index

public IndexGatewaySnapshotResponse index(java.lang.String index)
The index level gateway snapshot response for the given index.


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