Jadex 0.96-beta1

jadex.util.concurrent
Interface ITimerService

All Known Implementing Classes:
TimerService

public interface ITimerService

Interface for the timer that manages future timepoints and has the task to notify objects at the given time entries.


Method Summary
 void addEntry(ITimedObject to, long time)
          Add a timing entry.
 void removeEntry(ITimedObject to)
          Remove a timing entry.
 void shutdown()
          Shutdown the timer service.
 

Method Detail

addEntry

void addEntry(ITimedObject to,
              long time)
Add a timing entry. When an entry for the given object already exists, the old entry will be discarded.

Parameters:
to - The timed object to notify.
time - The absolute notification time.

removeEntry

void removeEntry(ITimedObject to)
Remove a timing entry.

Parameters:
to - The object to notify.

shutdown

void shutdown()
Shutdown the timer service. Drops outstanding notification requests.


Jadex 0.96-beta1

Submit a bug or feature
For further API reference and developer documentation, see the Jadex User Guide and the Jadex Tutorial. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, and working code examples.

Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.