public interface TimerState
| Modifier and Type | Interface and Description |
|---|---|
static interface |
TimerState.Mutable |
static interface |
TimerState.Static |
| Modifier and Type | Field and Description |
|---|---|
static int |
REPETITION_SINGLE
Repetition value for a simple timer without repetitions
|
| Modifier and Type | Method and Description |
|---|---|
int |
count() |
default long |
deadline(int index) |
default boolean |
hasTimer(long id) |
long |
id(int index) |
int |
indexById(long id) |
int |
indexOfNextDeadline() |
default int |
nextRepetition(int index) |
int |
repetition(int index) |
long |
time(int index) |
long |
timeout(int index) |
int |
type(int index) |
static final int REPETITION_SINGLE
int count()
int indexById(long id)
int indexOfNextDeadline()
long id(int index)
int type(int index)
int repetition(int index)
long time(int index)
long timeout(int index)
default long deadline(int index)
default int nextRepetition(int index)
default boolean hasTimer(long id)
Copyright © 2020 tools4j.org (Marco Terzer, Anton Anufriev). All Rights Reserved.