All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----JavaGroups.Timer
command.Execute
at time time
.
command.Execute
in time
milliseconds.
public Timer()
public void finalize()
public void Trigger(Command command, long time)
command.Execute
in time
milliseconds. A command can be
registered multiple times, and will be called multiple times. Each command will be executed
on a separate thread.
public void Start()Stop
public void Stop()Trigger
public void Trigger(Command command, Date time)
command.Execute
at time time
. A command can be
registered multiple times, and will be called multiple times. Each command will be executed
on a separate thread. If the date is in the past, the command will be executed immediately.
public void run()main
public static void main(String args[])
All Packages Class Hierarchy This Package Previous Next Index