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

java.lang.Object
  extended by org.elasticsearch.action.admin.indices.support.BaseIndicesRequestBuilder<GatewaySnapshotRequest,GatewaySnapshotResponse>
      extended by org.elasticsearch.action.admin.indices.gateway.snapshot.GatewaySnapshotRequestBuilder
All Implemented Interfaces:
ActionRequestBuilder<GatewaySnapshotRequest,GatewaySnapshotResponse>

public class GatewaySnapshotRequestBuilder
extends BaseIndicesRequestBuilder<GatewaySnapshotRequest,GatewaySnapshotResponse>


Field Summary
 
Fields inherited from class org.elasticsearch.action.admin.indices.support.BaseIndicesRequestBuilder
client, request
 
Constructor Summary
GatewaySnapshotRequestBuilder(IndicesAdminClient indicesClient)
           
 
Method Summary
protected  void doExecute(ActionListener<GatewaySnapshotResponse> listener)
           
 GatewaySnapshotRequestBuilder setIgnoreIndices(IgnoreIndices ignoreIndices)
          Specifies what type of requested indices to ignore.
 GatewaySnapshotRequestBuilder setIndices(String... indices)
           
 
Methods inherited from class org.elasticsearch.action.admin.indices.support.BaseIndicesRequestBuilder
execute, execute, request
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GatewaySnapshotRequestBuilder

public GatewaySnapshotRequestBuilder(IndicesAdminClient indicesClient)
Method Detail

setIndices

public GatewaySnapshotRequestBuilder setIndices(String... indices)

setIgnoreIndices

public GatewaySnapshotRequestBuilder setIgnoreIndices(IgnoreIndices ignoreIndices)
Specifies what type of requested indices to ignore. For example indices that don't exist.


doExecute

protected void doExecute(ActionListener<GatewaySnapshotResponse> listener)
Specified by:
doExecute in class BaseIndicesRequestBuilder<GatewaySnapshotRequest,GatewaySnapshotResponse>


Copyright © 2009-2012. All Rights Reserved.