Interface RestrictionTrackers.ClaimObserver<PositionT>
- Enclosing class:
RestrictionTrackers
public static interface RestrictionTrackers.ClaimObserver<PositionT>
Interface allowing a runner to observe the calls to
RestrictionTracker.tryClaim(PositionT)
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
Called whenRestrictionTracker.tryClaim(PositionT)
returns true.void
onClaimFailed
(PositionT position) Called whenRestrictionTracker.tryClaim(PositionT)
returns false.
-
Method Details
-
onClaimed
Called whenRestrictionTracker.tryClaim(PositionT)
returns true. -
onClaimFailed
Called whenRestrictionTracker.tryClaim(PositionT)
returns false.
-