Class DefaultOperationSuccessResult

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getEndTime()
      Returns the time when the operation finished its execution.
      long getStartTime()
      Returns the time when the operation started its execution.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultOperationSuccessResult

        public DefaultOperationSuccessResult​(long startTime,
                                             long endTime)
    • Method Detail

      • getStartTime

        public long getStartTime()
        Description copied from interface: OperationResult
        Returns the time when the operation started its execution.
        Specified by:
        getStartTime in interface OperationResult
        Returns:
        The start time, in milliseconds since the epoch.
      • getEndTime

        public long getEndTime()
        Description copied from interface: OperationResult
        Returns the time when the operation finished its execution.
        Specified by:
        getEndTime in interface OperationResult
        Returns:
        The end time, in milliseconds since the epoch.