Class AbstractRequestResult
java.lang.Object
io.fluxzero.common.api.AbstractRequestResult
- All Implemented Interfaces:
JsonType, RequestResult
- Direct Known Subclasses:
BooleanResult, ClaimSegmentResult, ErrorResult, GetAggregateIdsResult, GetDocumentResult, GetDocumentsResult, GetDocumentStatsResult, GetEventsResult, GetFacetStatsResult, GetPositionResult, GetRelationshipsResult, GetScheduleResult, GetSearchHistogramResult, GetValueResult, ReadFromIndexResult, ReadResult, SearchDocumentsResult, StringResult, VoidResult
Base implementation for built-in
RequestResult types.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongThe timestamp (in epoch milliseconds) when the Fluxzero Runtime received the original request.longThe timestamp (in epoch milliseconds) when the Fluxzero Runtime queued this response for websocket delivery.longThe timestamp (in epoch milliseconds) just before the Fluxzero Runtime encoded and sent this response.voidsetRequestReceivedTimestamp(long requestReceivedTimestamp) Updates the timestamp at which the Fluxzero Runtime received the original request.voidsetResponseQueuedTimestamp(long responseQueuedTimestamp) Updates the timestamp at which the Fluxzero Runtime queued this response for websocket delivery.voidsetResponseSendStartTimestamp(long responseSendStartTimestamp) Updates the timestamp just before the Fluxzero Runtime encoded and sent this response.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface RequestResult
getRequestId, getTimestamp
-
Constructor Details
-
AbstractRequestResult
public AbstractRequestResult()
-
-
Method Details
-
getRequestReceivedTimestamp
public long getRequestReceivedTimestamp()The timestamp (in epoch milliseconds) when the Fluxzero Runtime received the original request.- Specified by:
getRequestReceivedTimestampin interfaceRequestResult
-
setRequestReceivedTimestamp
public void setRequestReceivedTimestamp(long requestReceivedTimestamp) Updates the timestamp at which the Fluxzero Runtime received the original request.- Specified by:
setRequestReceivedTimestampin interfaceRequestResult
-
getResponseQueuedTimestamp
public long getResponseQueuedTimestamp()The timestamp (in epoch milliseconds) when the Fluxzero Runtime queued this response for websocket delivery.- Specified by:
getResponseQueuedTimestampin interfaceRequestResult
-
setResponseQueuedTimestamp
public void setResponseQueuedTimestamp(long responseQueuedTimestamp) Updates the timestamp at which the Fluxzero Runtime queued this response for websocket delivery.- Specified by:
setResponseQueuedTimestampin interfaceRequestResult
-
getResponseSendStartTimestamp
public long getResponseSendStartTimestamp()The timestamp (in epoch milliseconds) just before the Fluxzero Runtime encoded and sent this response.- Specified by:
getResponseSendStartTimestampin interfaceRequestResult
-
setResponseSendStartTimestamp
public void setResponseSendStartTimestamp(long responseSendStartTimestamp) Updates the timestamp just before the Fluxzero Runtime encoded and sent this response.- Specified by:
setResponseSendStartTimestampin interfaceRequestResult
-