public class RefreshRequest extends BroadcastOperationRequest<RefreshRequest>
TransportRequest.Empty
IndicesRequest.Replaceable
indices
Constructor and Description |
---|
RefreshRequest(ActionRequest originalRequest)
Copy constructor that creates a new refresh request that is a copy of the one provided as an argument.
|
RefreshRequest(String... indices) |
Modifier and Type | Method and Description |
---|---|
boolean |
force()
Deprecated.
|
RefreshRequest |
force(boolean force)
Deprecated.
unnecessary flag since 1.5.0
|
void |
readFrom(StreamInput in) |
void |
writeTo(StreamOutput out) |
beforeLocalFork, beforeStart, indices, indices, indicesOptions, indicesOptions, validate
listenerThreaded, listenerThreaded
getHeader, getHeaders, hasHeader, putHeader, remoteAddress, remoteAddress
contextSize, copyContextFrom, getContext, getFromContext, getFromContext, hasInContext, isContextEmpty, putAllInContext, putInContext
public RefreshRequest(ActionRequest originalRequest)
public RefreshRequest(String... indices)
@Deprecated public boolean force()
@Deprecated public RefreshRequest force(boolean force)
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
readFrom
in class BroadcastOperationRequest<RefreshRequest>
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class BroadcastOperationRequest<RefreshRequest>
IOException
Copyright © 2009–2015. All rights reserved.