@Internal public static interface RestrictionTracker.ClaimObserver<PositionT>
RestrictionTracker.tryClaim(PositionT)
.Modifier and Type | Method and Description |
---|---|
void |
onClaimed(PositionT position)
Called when
RestrictionTracker.tryClaim(PositionT) returns true. |
void |
onClaimFailed(PositionT position)
Called when
RestrictionTracker.tryClaim(PositionT) returns false. |
void onClaimed(PositionT position)
RestrictionTracker.tryClaim(PositionT)
returns true.void onClaimFailed(PositionT position)
RestrictionTracker.tryClaim(PositionT)
returns false.