|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.elasticsearch.action.support.single.custom.SingleCustomOperationRequest
public abstract class SingleCustomOperationRequest
Constructor Summary | |
---|---|
protected |
SingleCustomOperationRequest()
|
Method Summary | |
---|---|
void |
beforeLocalFork()
|
boolean |
listenerThreaded()
Should the listener be called on a separate thread if needed. |
SingleCustomOperationRequest |
listenerThreaded(boolean threadedListener)
Sets if the response listener be executed on a thread or not. |
boolean |
operationThreaded()
Controls if the operation will be executed on a separate thread when executed locally. |
SingleCustomOperationRequest |
operationThreaded(boolean threadedOperation)
Controls if the operation will be executed on a separate thread when executed locally. |
SingleCustomOperationRequest |
preferLocal(boolean preferLocal)
if this operation hits a node with a local relevant shard, should it be preferred to be executed on, or just do plain round robin. |
boolean |
preferLocalShard()
if this operation hits a node with a local relevant shard, should it be preferred to be executed on, or just do plain round robin. |
void |
readFrom(StreamInput in)
|
ActionRequestValidationException |
validate()
|
void |
writeTo(StreamOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected SingleCustomOperationRequest()
Method Detail |
---|
public ActionRequestValidationException validate()
validate
in interface ActionRequest
public boolean listenerThreaded()
listenerThreaded
in interface ActionRequest
public SingleCustomOperationRequest listenerThreaded(boolean threadedListener)
ActionRequest
listenerThreaded
in interface ActionRequest
public boolean operationThreaded()
public SingleCustomOperationRequest operationThreaded(boolean threadedOperation)
public SingleCustomOperationRequest preferLocal(boolean preferLocal)
public boolean preferLocalShard()
public void beforeLocalFork()
public void readFrom(StreamInput in) throws java.io.IOException
readFrom
in interface Streamable
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
writeTo
in interface Streamable
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |