Class ResultHistory
-
- All Implemented Interfaces:
-
com.embabel.common.core.types.Timed,com.embabel.common.core.types.Timestamped
public final class ResultHistory<RESULT extends Object> implements Timestamped, TimedMutable object. We only bind this once
-
-
Field Summary
Fields Modifier and Type Field Description private final DurationrunningTimeprivate final Instanttimestamp
-
Constructor Summary
Constructors Constructor Description ResultHistory(List<RESULT> _results, Instant timestamp)
-
Method Summary
Modifier and Type Method Description DurationgetRunningTime()InstantgetTimestamp()final IntegerattemptCount()final List<RESULT>attempts()final RESULTlastAttempt()-
-
Method Detail
-
getRunningTime
Duration getRunningTime()
-
getTimestamp
Instant getTimestamp()
-
attemptCount
final Integer attemptCount()
-
lastAttempt
final RESULT lastAttempt()
-
-
-
-