public class ClearScrollRequest extends ActionRequest<ClearScrollRequest>
TransportRequest.Empty
headers
Constructor and Description |
---|
ClearScrollRequest() |
ClearScrollRequest(ActionRequest request)
Creates a clear scroll request caused by some other request, which is provided as an
argument so that its headers and context can be copied to the new request
|
Modifier and Type | Method and Description |
---|---|
void |
addScrollId(String scrollId) |
List<String> |
getScrollIds() |
void |
readFrom(StreamInput in) |
List<String> |
scrollIds() |
void |
scrollIds(List<String> scrollIds) |
void |
setScrollIds(List<String> scrollIds) |
ActionRequestValidationException |
validate() |
void |
writeTo(StreamOutput out) |
createTask, getDescription
remoteAddress, remoteAddress
contextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContext
public ClearScrollRequest()
public ClearScrollRequest(ActionRequest request)
public void addScrollId(String scrollId)
public ActionRequestValidationException validate()
validate
in class ActionRequest<ClearScrollRequest>
public void readFrom(StreamInput in) throws IOException
readFrom
in interface Streamable
readFrom
in class ActionRequest<ClearScrollRequest>
IOException
public void writeTo(StreamOutput out) throws IOException
writeTo
in interface Streamable
writeTo
in class ActionRequest<ClearScrollRequest>
IOException
Copyright © 2009–2016. All rights reserved.