Package org.elasticsearch.action.search
Class ClosePointInTimeResponse
java.lang.Object
org.elasticsearch.transport.TransportMessage
org.elasticsearch.transport.TransportResponse
org.elasticsearch.action.ActionResponse
org.elasticsearch.action.search.ClearScrollResponse
org.elasticsearch.action.search.ClosePointInTimeResponse
- All Implemented Interfaces:
Writeable,StatusToXContentObject,RefCounted,ToXContent,ToXContentObject
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.action.ActionResponse
ActionResponse.EmptyNested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY_PARAMS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatus()Returns the REST status to make sure it is returned correctlyMethods inherited from class org.elasticsearch.action.search.ClearScrollResponse
fromXContent, getNumFreed, isSucceeded, toXContent, writeToMethods inherited from class org.elasticsearch.transport.TransportMessage
decRef, hasReferences, incRef, remoteAddress, remoteAddress, tryIncRefMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Constructor Details
-
ClosePointInTimeResponse
public ClosePointInTimeResponse(boolean succeeded, int numFreed) -
ClosePointInTimeResponse
- Throws:
IOException
-
-
Method Details
-
status
Description copied from interface:StatusToXContentObjectReturns the REST status to make sure it is returned correctly- Specified by:
statusin interfaceStatusToXContentObject- Overrides:
statusin classClearScrollResponse
-