com.vinculumtech.platform.root.handler
Class InMemoryTimerHandler

java.lang.Object
  extended bycom.vinculumtech.platform.root.handler.InMemoryTimerHandler
All Implemented Interfaces:
TimerHandler

public class InMemoryTimerHandler
extends java.lang.Object
implements TimerHandler

The InMemoryTimerHandler is a simple TimerHandler implementation that does not provide any permanence to scheduled tasks. Thus a restart will loose any currently scheduled tasks.

Version:
$Id: //depot/carrierwave/src/shared/com/vinculumtech/platform/root/handler/InMemoryTimerHandler.java#1 $

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

Field Detail

TIME_DAEMON

public static final java.lang.String TIME_DAEMON
See Also:
Constant Field Values
Constructor Detail

InMemoryTimerHandler

public InMemoryTimerHandler()
Method Detail

start

public void start()
Specified by:
start in interface TimerHandler

schedule

public void schedule(NullaryFunction function,
                     long delay)
Specified by:
schedule in interface TimerHandler

schedule

public void schedule(NullaryFunction function,
                     java.util.Date date)
Specified by:
schedule in interface TimerHandler


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