public abstract class BroadcastOperationRequest<T extends BroadcastOperationRequest> extends ActionRequest<T> implements IndicesRequest.Replaceable
TransportRequest.Empty
IndicesRequest.Replaceable
Modifier | Constructor and Description |
---|---|
protected |
BroadcastOperationRequest() |
protected |
BroadcastOperationRequest(ActionRequest originalRequest) |
protected |
BroadcastOperationRequest(String[] indices) |
Modifier and Type | Method and Description |
---|---|
protected void |
beforeLocalFork() |
protected void |
beforeStart() |
String[] |
indices()
Returns the array of indices that the action relates to
|
T |
indices(String... indices) |
IndicesOptions |
indicesOptions()
Returns the indices options used to resolve indices.
|
T |
indicesOptions(IndicesOptions indicesOptions) |
void |
readFrom(StreamInput in) |
ActionRequestValidationException |
validate() |
void |
writeTo(StreamOutput out) |
listenerThreaded, listenerThreaded
getHeader, getHeaders, hasHeader, putHeader, remoteAddress, remoteAddress
contextSize, copyContextFrom, getContext, getFromContext, getFromContext, hasInContext, isContextEmpty, putAllInContext, putInContext
protected String[] indices
protected BroadcastOperationRequest()
protected BroadcastOperationRequest(ActionRequest originalRequest)
protected BroadcastOperationRequest(String[] indices)
public String[] indices()
IndicesRequest
indices
in interface IndicesRequest
public final T indices(String... indices)
indices
in interface IndicesRequest.Replaceable
public ActionRequestValidationException validate()
validate
in class ActionRequest<T extends BroadcastOperationRequest>
public IndicesOptions indicesOptions()
IndicesRequest
indicesOptions
in interface IndicesRequest
public final T indicesOptions(IndicesOptions indicesOptions)
protected void beforeStart()
protected void beforeLocalFork()
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class ActionRequest<T extends BroadcastOperationRequest>
IOException
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
readFrom
in class ActionRequest<T extends BroadcastOperationRequest>
IOException
Copyright © 2009–2015. All rights reserved.