JBoss API: Interface Schedulable

Interface Schedulable

All Known Implementing Classes:

public interface Schedulable

This interface defines the manageable interface for a Scheduler Service allowing the client to create a Schedulable instance which is then run by this service at given times.

Andreas Schaefer

Method Summary
 void perform(java.util.Date pTimeOfCall, long pRemainingRepetitions)
          This method is called from the Scheduler Service

Method Detail


public void perform(java.util.Date pTimeOfCall,
                    long pRemainingRepetitions)
This method is called from the Scheduler Service
pTimeOfCall - Date/Time of the scheduled call
pRemainingRepetitions - Number of the remaining repetitions which is -1 if there is an unlimited number of repetitions.

Copyright 2000 The JBoss Organization. All Rights Reserved.