org.jboss.test.util.scheduler
Class TestSchedulable

java.lang.Object
  extended byorg.jboss.test.util.scheduler.TestSchedulable
All Implemented Interfaces:
Schedulable (src)

public class TestSchedulable
extends java.lang.Object
implements Schedulable (src)


Constructor Summary
TestSchedulable(java.lang.String name, int data)
           
 
Method Summary
 void perform(java.util.Date time, long remaining)
          Just log the call
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestSchedulable

public TestSchedulable(java.lang.String name,
                       int data)
Method Detail

perform

public void perform(java.util.Date time,
                    long remaining)
Just log the call

Specified by:
perform in interface Schedulable (src)
Parameters:
time - Date/Time of the scheduled call
remaining - Number of the remaining repetitions which is -1 if there is an unlimited number of repetitions.