Package | Description |
---|---|
javax.ejb |
Contains the Enterprise JavaBeans classes
and interfaces that define the contracts between the enterprise bean
and its clients and between the enterprise bean and the EJB container.
|
Modifier and Type | Method and Description |
---|---|
void |
Timer.cancel ()
Cause the timer and all its associated expiration notifications to
be cancelled.
|
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 ()
Return whether this timer is a calendar-based timer.
|
boolean |
Timer.isPersistent ()
Return whether this timer has persistent semantics.
|
Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.