|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.elasticsearch.action.support.master.MasterNodeOperationRequest
public abstract class MasterNodeOperationRequest
A based request for master based operation.
Constructor Summary | |
---|---|
MasterNodeOperationRequest()
|
Method Summary | |
---|---|
boolean |
listenerThreaded()
Should the response listener be executed on a thread or not. |
MasterNodeOperationRequest |
listenerThreaded(boolean listenerThreaded)
Sets if the response listener be executed on a thread or not. |
TimeValue |
masterNodeTimeout()
|
MasterNodeOperationRequest |
masterNodeTimeout(java.lang.String timeout)
A timeout value in case the master has not been discovered yet or disconnected. |
MasterNodeOperationRequest |
masterNodeTimeout(TimeValue timeout)
A timeout value in case the master has not been discovered yet or disconnected. |
void |
readFrom(StreamInput in)
|
void |
writeTo(StreamOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.elasticsearch.action.ActionRequest |
---|
validate |
Constructor Detail |
---|
public MasterNodeOperationRequest()
Method Detail |
---|
public boolean listenerThreaded()
ActionRequest
When not executing on a thread, it will either be executed on the calling thread, or on an expensive, IO based, thread.
listenerThreaded
in interface ActionRequest
public MasterNodeOperationRequest listenerThreaded(boolean listenerThreaded)
ActionRequest
listenerThreaded
in interface ActionRequest
public MasterNodeOperationRequest masterNodeTimeout(TimeValue timeout)
public MasterNodeOperationRequest masterNodeTimeout(java.lang.String timeout)
public TimeValue masterNodeTimeout()
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 |