public class RestrictionTrackers
extends java.lang.Object
RestrictionTrackers
.Modifier and Type | Class and Description |
---|---|
static interface |
RestrictionTrackers.ClaimObserver<PositionT>
Interface allowing a runner to observe the calls to
RestrictionTracker.tryClaim(PositionT) . |
Constructor and Description |
---|
RestrictionTrackers() |
Modifier and Type | Method and Description |
---|---|
static <RestrictionT,PositionT> |
observe(RestrictionTracker<RestrictionT,PositionT> restrictionTracker,
RestrictionTrackers.ClaimObserver<PositionT> claimObserver)
Returns a
RestrictionTracker which reports all claim attempts to the specified RestrictionTrackers.ClaimObserver . |
public static <RestrictionT,PositionT> RestrictionTracker<RestrictionT,PositionT> observe(RestrictionTracker<RestrictionT,PositionT> restrictionTracker, RestrictionTrackers.ClaimObserver<PositionT> claimObserver)
RestrictionTracker
which reports all claim attempts to the specified RestrictionTrackers.ClaimObserver
.