public abstract class MasterNodeReadOperationRequest<T extends MasterNodeReadOperationRequest> extends MasterNodeOperationRequest<T>
TransportRequest.Empty| Modifier and Type | Field and Description |
|---|---|
protected boolean |
local |
DEFAULT_MASTER_NODE_TIMEOUT, masterNodeTimeoutheaders| Constructor and Description |
|---|
MasterNodeReadOperationRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
local() |
T |
local(boolean local) |
protected void |
readLocal(StreamInput in)
Reads the local flag
|
protected void |
readLocal(StreamInput in,
Version minVersion)
Reads the local flag if on or after the specified min version or if the version is
null. |
protected void |
writeLocal(StreamOutput out)
writes the local flag
|
protected void |
writeLocal(StreamOutput out,
Version minVersion)
writes the local flag if on or after the specified min version or if the version is
null. |
masterNodeTimeout, masterNodeTimeout, masterNodeTimeout, readFrom, writeTolistenerThreaded, listenerThreaded, validateputHeader, remoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putInContextpublic final T local(boolean local)
public final boolean local()
protected void readLocal(StreamInput in) throws IOException
IOExceptionprotected void readLocal(StreamInput in, Version minVersion) throws IOException
null.IOExceptionprotected void writeLocal(StreamOutput out) throws IOException
IOExceptionprotected void writeLocal(StreamOutput out, Version minVersion) throws IOException
null.IOExceptionCopyright © 2009–2016. All rights reserved.