public enum TimerCommands extends Enum<TimerCommands>
TimerTrigger either when outputting an event through the
command loopback or when polling the timer trigger input.| Modifier and Type | Field and Description |
|---|---|
static int |
TRIGGER_TIMER
Command issued by
TimerTrigger; its processing subsequently triggers a TimerEvents.TIMER_EXPIRED event. |
| Modifier and Type | Method and Description |
|---|---|
static long |
timerId(Command command) |
static long |
timerTimeout(Command command) |
static int |
timerType(Command command) |
static int |
triggerTimer(MutableDirectBuffer buffer,
int offset,
long timerId,
int timerType,
long timeout) |
static TimerCommands |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimerCommands[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final int TRIGGER_TIMER
TimerTrigger; its processing subsequently triggers a TimerEvents.TIMER_EXPIRED event.public static TimerCommands[] values()
for (TimerCommands c : TimerCommands.values()) System.out.println(c);
public static TimerCommands valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static int triggerTimer(MutableDirectBuffer buffer, int offset, long timerId, int timerType, long timeout)
public static long timerId(Command command)
public static int timerType(Command command)
public static long timerTimeout(Command command)
Copyright © 2020 tools4j.org (Marco Terzer, Anton Anufriev). All Rights Reserved.