public class RefreshRequest extends BroadcastOperationRequest<RefreshRequest>
TransportRequest.EmptyIndicesRequest.Replaceableindicesheaders| 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) |
indices, indices, indicesOptions, indicesOptions, validatelistenerThreaded, listenerThreadedputHeader, remoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putInContextpublic 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 StreamablereadFrom in class BroadcastOperationRequest<RefreshRequest>IOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo in interface StreamablewriteTo in class BroadcastOperationRequest<RefreshRequest>IOExceptionCopyright © 2009–2016. All rights reserved.