com.groiss.timer
Interface TimerTask

All Known Implementing Classes:
BatchManager

public interface TimerTask

A Task for the Timer. This interface must be implemented by classes that should be controlled by the timer mechanism.


Method Summary
 void abort()
          Abort the running timer task.
 void run(TimerEntry e, java.lang.String arg)
          A timer task is started.
 

Method Detail

run

void run(TimerEntry e,
         java.lang.String arg)
         throws java.lang.Exception
A timer task is started.

Parameters:
e - the persistent timer entry
arg - the argument string defined in the timer entry.
Throws:
java.lang.Exception

abort

void abort()
Abort the running timer task. This method is not called in the current implementation. Future extensions will allow to abort a running timer task.



@enterprise 8.0.22989 Copyright © 2001-2017 Groiss Informatics GmbH. All Rights Reserved.