org.elasticsearch.action.admin.cluster.ping.single
Class SinglePingRequest
java.lang.Object
org.elasticsearch.action.support.single.shard.SingleShardOperationRequest
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
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
type
protected java.lang.String type
id
protected java.lang.String id
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 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