Package org.mentaqueue.wait

Interface Summary
WaitStrategy Describes a wait strategy.
 

Class Summary
ParkWaitStrategy A wait strategy that uses the LockSupport.parkNanos method with some optional backing-off functionality.
SpinParkWaitStrategy This wait strategy first busy-spins then parks with backing off if enabled.
SpinWaitStrategy A wait strategy that just performs busy spinning.
SpinYieldParkWaitStrategy This wait strategy first busy spinings, then yields, then sleep.
YieldParkWaitStrategy No busy spinning, just yield and sleep.
 



Copyright © 2012. All Rights Reserved.