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

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

public class SinglePingRequest
extends SingleShardOperationRequest


Field Summary
protected  java.lang.String id
           
protected  java.lang.String type
           
 
Fields inherited from class org.elasticsearch.action.support.single.shard.SingleShardOperationRequest
index
 
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.shard.SingleShardOperationRequest
index, listenerThreaded, operationThreaded, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

protected java.lang.String type

id

protected java.lang.String id
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 SingleShardOperationRequest

operationThreaded

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

Overrides:
operationThreaded in class SingleShardOperationRequest

readFrom

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

writeTo

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