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

public abstract class AbstractRequestResult extends Object implements RequestResult
Base implementation for built-in RequestResult types.
  • 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:
      getRequestReceivedTimestamp in interface RequestResult
    • setRequestReceivedTimestamp

      public void setRequestReceivedTimestamp(long requestReceivedTimestamp)
      Updates the timestamp at which the Fluxzero Runtime received the original request.
      Specified by:
      setRequestReceivedTimestamp in interface RequestResult
    • getResponseQueuedTimestamp

      public long getResponseQueuedTimestamp()
      The timestamp (in epoch milliseconds) when the Fluxzero Runtime queued this response for websocket delivery.
      Specified by:
      getResponseQueuedTimestamp in interface RequestResult
    • setResponseQueuedTimestamp

      public void setResponseQueuedTimestamp(long responseQueuedTimestamp)
      Updates the timestamp at which the Fluxzero Runtime queued this response for websocket delivery.
      Specified by:
      setResponseQueuedTimestamp in interface RequestResult
    • getResponseSendStartTimestamp

      public long getResponseSendStartTimestamp()
      The timestamp (in epoch milliseconds) just before the Fluxzero Runtime encoded and sent this response.
      Specified by:
      getResponseSendStartTimestamp in interface RequestResult
    • setResponseSendStartTimestamp

      public void setResponseSendStartTimestamp(long responseSendStartTimestamp)
      Updates the timestamp just before the Fluxzero Runtime encoded and sent this response.
      Specified by:
      setResponseSendStartTimestamp in interface RequestResult