| Package | Description |
|---|---|
| org.glassfish.pfl.tf.timer.spi |
| Modifier and Type | Method and Description |
|---|---|
TimerEvent.TimerEventType |
TimerEvent.type()
Type of event: ENTER for start of interval for a
Timer, EXIT for end of the interval.
|
static TimerEvent.TimerEventType |
TimerEvent.TimerEventType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimerEvent.TimerEventType[] |
TimerEvent.TimerEventType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TimerEvent.update(Timer timer,
TimerEvent.TimerEventType etype,
long time)
Re-use the same TimerEvent instance with different
data.
|
| Constructor and Description |
|---|
TimerEvent(Timer timer,
TimerEvent.TimerEventType etype)
Create a TimerEvent at the current time.
|
TimerEvent(Timer timer,
TimerEvent.TimerEventType etype,
long time)
Create a TimerEvent at the given time.
|
Copyright © 2011–2021 Eclipse Foundation. All rights reserved.