|
||||||||||
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.
Field Summary | |
---|---|
static TimeValue |
DEFAULT_MASTER_NODE_TIMEOUT
|
protected TimeValue |
masterNodeTimeout
|
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(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 |
Field Detail |
---|
public static TimeValue DEFAULT_MASTER_NODE_TIMEOUT
protected TimeValue masterNodeTimeout
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(String timeout)
public TimeValue masterNodeTimeout()
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |