Class DefaultOperationFailureResult

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getEndTime()
      Returns the time when the operation finished its execution.
      java.util.List<? extends Failure> getFailures()
      Returns the failures that occurred while running the operation, if any.
      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

      • DefaultOperationFailureResult

        public DefaultOperationFailureResult​(long startTime,
                                             long endTime,
                                             java.util.List<? extends Failure> failures)
    • 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.
      • getFailures

        public java.util.List<? extends Failure> getFailures()
        Description copied from interface: FailureResult
        Returns the failures that occurred while running the operation, if any.
        Specified by:
        getFailures in interface FailureResult
        Returns:
        the failures, empty if the operation failed without any specific failure information.