com.vinculumtech.platform.root
Class TimerRoot

java.lang.Object
  extended bycom.vinculumtech.platform.root.TimerRoot

public final class TimerRoot
extends java.lang.Object

The TimerRoot class provides a very simple abstraction over various scheduled timer service implementations. See the InMemoryTimerHandler for a default implementation of the TimerHandler interface.

Note that any durable version of TimerHandler will need to register with some mechanism to touch this class at startup so that the timer service is enabled.

Version:
$Id: //depot/carrierwave/src/shared/com/vinculumtech/platform/root/TimerRoot.java#2 $

Field Summary
static java.lang.String TIMER_CLASS
           
 
Method Summary
static void schedule(NullaryFunction function, java.util.Date date)
           
static void schedule(NullaryFunction function, long delay)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TIMER_CLASS

public static final java.lang.String TIMER_CLASS
See Also:
Constant Field Values
Method Detail

schedule

public static void schedule(NullaryFunction function,
                            long delay)

schedule

public static void schedule(NullaryFunction function,
                            java.util.Date date)


Copyright (C) 2002 Vinculum Technologies, Inc. All Rights Reserved.