|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-02 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Timer | |
---|---|
commonj.timers | Provides interfaces for commonj timers and listeners. |
Uses of Timer in commonj.timers |
---|
Methods in commonj.timers that return Timer | |
---|---|
Timer |
TimerManager.schedule(TimerListener listener,
Date time)
Schedules a TimerListener to execute at a specified time. |
Timer |
TimerManager.schedule(TimerListener listener,
long delay)
Schedules a TimerListener to execute once after the specified delay. |
Timer |
TimerManager.schedule(TimerListener listener,
Date firstTime,
long period)
Schedules a TimerListener to execute repeatedly using fixed-delay execution after the firstTime elapses. |
Timer |
TimerManager.schedule(TimerListener listener,
long delay,
long period)
Schedules a TimerListener to execute repeatedly using fixed-delay execution after the specified delay. |
Timer |
TimerManager.scheduleAtFixedRate(TimerListener listener,
Date firstTime,
long period)
Schedules a TimerListener to execute repeatedly using fixed-rate execution after the firstTime elapses. |
Timer |
TimerManager.scheduleAtFixedRate(TimerListener listener,
long delay,
long period)
Schedules a TimerListener to execute repeatedly using fixed-rate execution after the specified delay. |
Methods in commonj.timers with parameters of type Timer | |
---|---|
void |
CancelTimerListener.timerCancel(Timer timer)
This is called when timer is cancelled using the Timer.cancel() method. |
void |
TimerListener.timerExpired(Timer timer)
This method is called when a Timer expires and will run with the Java EE context of the scheduler. |
void |
StopTimerListener.timerStop(Timer timer)
This is called if the timer is stopped. |
|
Copyright 1996, 2013, 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 Java API Reference for Oracle WebLogic Server 12c (12.1.2) Part Number E27170-02 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |