Package | Description |
---|---|
javax.ejb |
Modifier and Type | Method and Description |
---|---|
void |
Timer.cancel()
Cause the timer and all its associated expiration notifications to be canceled.
|
TimerHandle |
Timer.getHandle()
Get a serializable handle to the timer.
|
Serializable |
Timer.getInfo()
Get the information associated with the timer at the time of creation.
|
Date |
Timer.getNextTimeout()
Get the point in time at which the next timer expiration is scheduled to occur.
|
ScheduleExpression |
Timer.getSchedule()
Get the schedule expression corresponding to this timer.
|
Timer |
TimerHandle.getTimer()
Obtain a reference to the timer represented by this handle.
|
long |
Timer.getTimeRemaining()
Get the number of milliseconds that will elapse before the next scheduled timer expiration.
|
boolean |
Timer.isCalendarTimer()
Query whether this timer is a calendar-based timer.
|
boolean |
Timer.isPersistent()
Query whether this timer has persistent semantics.
|
Copyright © 2016 JBoss by Red Hat. All rights reserved.