org.elasticsearch.action.admin.cluster.ping.single
Class SinglePingRequest

java.lang.Object
  extended by org.elasticsearch.action.support.single.SingleOperationRequest
      extended by org.elasticsearch.action.admin.cluster.ping.single.SinglePingRequest
All Implemented Interfaces:
ActionRequest, Streamable

public class SinglePingRequest
extends SingleOperationRequest


Field Summary
 
Fields inherited from class org.elasticsearch.action.support.single.SingleOperationRequest
id, index, routing, type
 
Constructor Summary
SinglePingRequest()
           
SinglePingRequest(java.lang.String index)
           
SinglePingRequest(java.lang.String index, java.lang.String type, java.lang.String id)
           
 
Method Summary
 SinglePingRequest id(java.lang.String id)
           
 SinglePingRequest index(java.lang.String index)
           
 SinglePingRequest listenerThreaded(boolean threadedListener)
          Sets if the response listener be executed on a thread or not.
 SinglePingRequest operationThreaded(boolean threadedOperation)
          Controls if the operation will be executed on a separate thread when executed locally.
 void readFrom(StreamInput in)
           
 SinglePingRequest type(java.lang.String type)
           
 void writeTo(StreamOutput out)
           
 
Methods inherited from class org.elasticsearch.action.support.single.SingleOperationRequest
id, index, listenerThreaded, operationThreaded, routing, type, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SinglePingRequest

public SinglePingRequest(java.lang.String index)

SinglePingRequest

public SinglePingRequest(java.lang.String index,
                         java.lang.String type,
                         java.lang.String id)

SinglePingRequest

public SinglePingRequest()
Method Detail

index

public SinglePingRequest index(java.lang.String index)

type

public SinglePingRequest type(java.lang.String type)

id

public SinglePingRequest id(java.lang.String id)

listenerThreaded

public SinglePingRequest listenerThreaded(boolean threadedListener)
Description copied from interface: ActionRequest
Sets if the response listener be executed on a thread or not.

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

operationThreaded

public SinglePingRequest operationThreaded(boolean threadedOperation)
Description copied from class: SingleOperationRequest
Controls if the operation will be executed on a separate thread when executed locally.

Overrides:
operationThreaded in class SingleOperationRequest

readFrom

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

writeTo

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