Class PerishableCountDown.EstablishedIntervalCountDownBuilder
java.lang.Object
uk.ac.gda.services.common.endstation.PerishableCountDown.Builder
uk.ac.gda.services.common.endstation.PerishableCountDown.EstablishedIntervalCountDownBuilder
- Enclosing class:
PerishableCountDown
public static final class PerishableCountDown.EstablishedIntervalCountDownBuilder
extends PerishableCountDown.Builder
Builds count down to the expiry of an established time interval (which may have already expired).
-
Method Summary
Modifier and TypeMethodDescriptioncountDownRemainingLifeOf(Perishable perishable) Builder chain call sets item whose remaining seconds are counted downMethods inherited from class uk.ac.gda.services.common.endstation.PerishableCountDown.Builder
build, loggingDebugMessagesUsing, setPayload, setPayloadUsing, withTheCounterExpiringOnceRemainingSecondsReach
-
Method Details
-
countDownRemainingLifeOf
Builder chain call sets item whose remaining seconds are counted down- Parameters:
perishable- source of timing - e.g. stale Msg come in late over message bus- Returns:
- builder for a chained construction call
-