|
Oracle Fusion Middleware Oracle WebLogic Server API Reference 12c Release 1 (12.1.1) Part Number E24391-02 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Timer
This interface allows one to query and cancel a timer that is returned when scheduling a timer listener with a timer manager.
Method Summary | |
---|---|
boolean |
cancel()
Cancel the timer so it does not execute. |
TimerListener |
getListener()
Return the listener supplied to the timer manager when this timer was created. |
long |
getPeriod()
Return the period used to compute the next time this timer will expire. |
ScheduleExpression |
getSchedule()
Get the schedule expression corresponding to this timer. |
long |
getTimeout()
Return the time at which this timer will expire. |
boolean |
isCalendarTimer()
Whether this timer is a calendar-based timer |
boolean |
isCancelled()
|
boolean |
isStopped()
|
Method Detail |
---|
long getTimeout()
long getPeriod()
TimerListener getListener()
boolean cancel()
boolean isStopped()
boolean isCancelled()
boolean isCalendarTimer()
ScheduleExpression getSchedule()
|
Copyright 1996, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Oracle WebLogic Server API Reference 12c Release 1 (12.1.1) Part Number E24391-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |