fr.gouv.culture.util.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:
Peter Donald, Ram Chidambaram

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

Method Detail

getTimeAfter

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 © 2000-2010 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.