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

java.lang.Object
  extended by org.elasticsearch.action.support.broadcast.BroadcastOperationRequest
      extended by org.elasticsearch.action.admin.indices.status.IndicesStatusRequest
All Implemented Interfaces:
ActionRequest, Streamable

public class IndicesStatusRequest
extends BroadcastOperationRequest


Field Summary
 
Fields inherited from class org.elasticsearch.action.support.broadcast.BroadcastOperationRequest
indices
 
Constructor Summary
IndicesStatusRequest()
           
IndicesStatusRequest(String... indices)
           
 
Method Summary
 IndicesStatusRequest listenerThreaded(boolean listenerThreaded)
          Should the listener be called on a separate thread if needed.
 BroadcastOperationRequest operationThreading(BroadcastOperationThreading operationThreading)
          Controls the operation threading model.
 void readFrom(StreamInput in)
           
 boolean recovery()
           
 IndicesStatusRequest recovery(boolean recovery)
          Should the status include recovery information.
 boolean snapshot()
           
 IndicesStatusRequest snapshot(boolean snapshot)
          Should the status include recovery information.
 void writeTo(StreamOutput out)
           
 
Methods inherited from class org.elasticsearch.action.support.broadcast.BroadcastOperationRequest
beforeLocalFork, beforeStart, ignoreIndices, ignoreIndices, indices, indices, listenerThreaded, operationThreading, operationThreading, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndicesStatusRequest

public IndicesStatusRequest()

IndicesStatusRequest

public IndicesStatusRequest(String... indices)
Method Detail

recovery

public IndicesStatusRequest recovery(boolean recovery)
Should the status include recovery information. Defaults to false.


recovery

public boolean recovery()

snapshot

public IndicesStatusRequest snapshot(boolean snapshot)
Should the status include recovery information. Defaults to false.


snapshot

public boolean snapshot()

listenerThreaded

public IndicesStatusRequest listenerThreaded(boolean listenerThreaded)
Description copied from class: BroadcastOperationRequest
Should the listener be called on a separate thread if needed.

Specified by:
listenerThreaded in interface ActionRequest
Overrides:
listenerThreaded in class BroadcastOperationRequest

operationThreading

public BroadcastOperationRequest operationThreading(BroadcastOperationThreading operationThreading)
Description copied from class: BroadcastOperationRequest
Controls the operation threading model.

Overrides:
operationThreading in class BroadcastOperationRequest

writeTo

public void writeTo(StreamOutput out)
             throws IOException
Specified by:
writeTo in interface Streamable
Overrides:
writeTo in class BroadcastOperationRequest
Throws:
IOException

readFrom

public void readFrom(StreamInput in)
              throws IOException
Specified by:
readFrom in interface Streamable
Overrides:
readFrom in class BroadcastOperationRequest
Throws:
IOException


Copyright © 2009-2012. All Rights Reserved.