Package no.digipost.concurrent
package no.digipost.concurrent
-
ClassDescriptionConvenience utility to build various handler functions which will be called with either the first argument set to a value of any type, or the second argument as a Throwable indicating an error.A count down implementation of
TargetState, which will count the invocations ofCountDown.yet()and returntrueafter a given amount of invocations.A reference which may or may not be assigned a value, with the added constraint that it can only be assigned once.A kind of specialized variant ofAtomicBooleanwhich can only be toggled once.A signal mediator is a many-to-one carrier of a simple "no-content" signal that one other part is interested in occurring.An object which knows if a certain state has been reachedyet.Control signals returned from tasks to control execution withTargetState.untilThen(Supplier, Consumer)Instances of this class has no other purpose than to hold execution.