public class ClearScrollResponse extends ActionResponse implements StatusToXContent
TransportResponse.EmptyToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsheadersEMPTY_PARAMS| コンストラクタと説明 |
|---|
ClearScrollResponse(boolean succeeded,
int numFreed) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
int |
getNumFreed() |
boolean |
isSucceeded() |
void |
readFrom(StreamInput in) |
RestStatus |
status()
Returns the REST status to make sure it is returned correctly
|
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params) |
void |
writeTo(StreamOutput out) |
remoteAddress, remoteAddresscontextSize, copyContextAndHeadersFrom, copyContextFrom, copyHeadersFrom, getContext, getFromContext, getFromContext, getHeader, getHeaders, hasHeader, hasInContext, isContextEmpty, putAllInContext, putHeader, putInContextpublic boolean isSucceeded()
public int getNumFreed()
0 the assumption can be made,
that the scroll id specified in the request did not exist. (never existed, was expired, or completely consumed)public RestStatus status()
StatusToXContentstatus インタフェース内 StatusToXContentpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
toXContent インタフェース内 ToXContentIOExceptionpublic void readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamablereadFrom クラス内 ActionResponseIOExceptionpublic void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 StreamablewriteTo クラス内 ActionResponseIOExceptionCopyright © 2009–2016. All rights reserved.