org.yawlfoundation.yawl.engine.time
Class YTimer

java.lang.Object
  extended by java.util.Timer
      extended by org.yawlfoundation.yawl.engine.time.YTimer

public class YTimer
extends Timer

Author: Michael Adams Creation Date: 31/01/2008


Nested Class Summary
static class YTimer.TimeUnit
           
 
Method Summary
 void cancelAll()
           
 void cancelTimersForCase(String caseID)
           
 YTimedObject cancelTimerTask(String itemID)
           
static YTimer getInstance()
           
 boolean hasActiveTimer(String itemID)
           
 long schedule(YTimedObject timee, Date expiryTime)
           
 long schedule(YTimedObject timee, Duration duration)
           
 long schedule(YTimedObject timee, long durationAsMilliseconds)
           
 long schedule(YTimedObject timee, long count, YTimer.TimeUnit unit)
           
 void shutdown()
           
 
Methods inherited from class java.util.Timer
cancel, purge, schedule, schedule, schedule, schedule, scheduleAtFixedRate, scheduleAtFixedRate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static YTimer getInstance()

hasActiveTimer

public boolean hasActiveTimer(String itemID)

cancelTimerTask

public YTimedObject cancelTimerTask(String itemID)

cancelTimersForCase

public void cancelTimersForCase(String caseID)

cancelAll

public void cancelAll()

shutdown

public void shutdown()

schedule

public long schedule(YTimedObject timee,
                     long durationAsMilliseconds)

schedule

public long schedule(YTimedObject timee,
                     Date expiryTime)

schedule

public long schedule(YTimedObject timee,
                     Duration duration)

schedule

public long schedule(YTimedObject timee,
                     long count,
                     YTimer.TimeUnit unit)


Copyright © 2004-2012 The YAWL Foundation.