org.apache.avalon.cornerstone.services.scheduler
Interface TimeTrigger

All Superinterfaces:
Trigger
All Known Implementing Classes:
CronTimeTrigger, PeriodicTimeTrigger

public interface TimeTrigger
extends Trigger

A kind of trigger that makes the determination to go off based on time.

Author:
Avalon Development Team

Method Summary
 long getTimeAfter(long moment)
          Returns the next time after the given moment when this trigger goes off.
 
Methods inherited from interface org.apache.avalon.cornerstone.services.scheduler.Trigger
reset
 

Method Detail

getTimeAfter

public long getTimeAfter(long moment)
Returns the next time after the given moment when this trigger goes off.

Parameters:
moment - base point in milliseconds
Returns:
the time in milliseconds when this trigger goes off


Copyright © 1997-2005 The Apache Software Foundation. All Rights Reserved.