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, masterNodeTimeout
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, writeTo
listenerThreaded, listenerThreaded, validate
getHeader, getHeaders, hasHeader, putHeader, remoteAddress, remoteAddress
contextSize, copyContextFrom, getContext, getFromContext, getFromContext, hasInContext, isContextEmpty, putAllInContext, putInContext
public final T local(boolean local)
public final boolean local()
protected void readLocal(StreamInput in) throws IOException
IOException
protected void readLocal(StreamInput in, Version minVersion) throws IOException
null
.IOException
protected void writeLocal(StreamOutput out) throws IOException
IOException
protected void writeLocal(StreamOutput out, Version minVersion) throws IOException
null
.IOException
Copyright © 2009–2015. All rights reserved.