站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 varia API Documentation 英文版文档

Schedulable (Various API) - JBoss 4.0.1 sp1 varia API Documentation 英文版文档


org.jboss.varia.scheduler
Interface Schedulable

All Known Implementing Classes:
SchedulableExample, Scheduler.SchedulableExample

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.

Version:
$Revision: 1.1 $
Author:
Andreas Schaefer

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

Method Detail

perform

public void perform(Date pTimeOfCall,
                    long pRemainingRepetitions)
This method is called from the Scheduler Service

Parameters:
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 © 2002 JBoss Group, LLC. All Rights Reserved.