当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 varia API Documentation 英文版文档
Scheduler.SchedulableExample (Various API) - JBoss 4.0.1 sp1 varia API Documentation 英文版文档
org.jboss.varia.scheduler
Class Scheduler.SchedulableExample
java.lang.Object
org.jboss.varia.scheduler.Scheduler.SchedulableExample
- All Implemented Interfaces:
- Schedulable
- Enclosing class:
- Scheduler
- public static class Scheduler.SchedulableExample
- extends Object
- implements Schedulable
A test class for a Schedulable Class
Method Summary |
void |
perform(Date pTimeOfCall,
long pRemainingRepetitions)
Just log the call |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Scheduler.SchedulableExample
public Scheduler.SchedulableExample(String pName,
int pValue)
perform
public void perform(Date pTimeOfCall,
long pRemainingRepetitions)
- Just log the call
- Specified by:
perform
in interface Schedulable
- Parameters:
pTimeOfCall
- Date/Time of the scheduled callpRemainingRepetitions
- Number of the remaining repetitions which
is -1 if there is an unlimited number of
repetitions.
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.