public abstract class MasterNodeOperationRequest<T extends MasterNodeOperationRequest> extends ActionRequest<T>
TransportRequest.Empty
Modifier and Type | Field and Description |
---|---|
static TimeValue |
DEFAULT_MASTER_NODE_TIMEOUT |
protected TimeValue |
masterNodeTimeout |
Modifier | Constructor and Description |
---|---|
protected |
MasterNodeOperationRequest() |
protected |
MasterNodeOperationRequest(ActionRequest request) |
Modifier and Type | Method and Description |
---|---|
TimeValue |
masterNodeTimeout() |
T |
masterNodeTimeout(String timeout)
A timeout value in case the master has not been discovered yet or disconnected.
|
T |
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) |
listenerThreaded, listenerThreaded, validate
getHeader, getHeaders, hasHeader, putHeader, remoteAddress, remoteAddress
contextSize, copyContextFrom, getContext, getFromContext, getFromContext, hasInContext, isContextEmpty, putAllInContext, putInContext
public static final TimeValue DEFAULT_MASTER_NODE_TIMEOUT
protected TimeValue masterNodeTimeout
protected MasterNodeOperationRequest()
protected MasterNodeOperationRequest(ActionRequest request)
public final T masterNodeTimeout(TimeValue timeout)
public final T masterNodeTimeout(String timeout)
public final TimeValue masterNodeTimeout()
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
readFrom
in class ActionRequest<T extends MasterNodeOperationRequest>
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class ActionRequest<T extends MasterNodeOperationRequest>
IOException
Copyright © 2009–2015. All rights reserved.