public interface TickListener
TickListener objects are guaranteed to not overlap each
other, ie. no two threads will enter the same object's
tick(long) at the same time.| Modifier and Type | Method and Description |
|---|---|
void |
tick(long tick)
Called when a tick event is fired.
|
void tick(long tick)
Long.MAX_VALUE is followed by
Long.MIN_VALUE.
Furthermore, it is guaranteed that ticks do not overlap each other, ie. no
two threads will enter the same object's tick(long)
at the same time.tick - the tick numberCopyright © 2015. All rights reserved.