org.elasticsearch.action.admin.cluster.ping.single
Class SinglePingRequest
java.lang.Object
org.elasticsearch.action.support.single.SingleOperationRequest
org.elasticsearch.action.admin.cluster.ping.single.SinglePingRequest
- All Implemented Interfaces:
- ActionRequest, Streamable
public class SinglePingRequest
- extends SingleOperationRequest
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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()
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