org.apache.geronimo.timer
Class WorkInfo

java.lang.Object
  extended by org.apache.geronimo.timer.WorkInfo

public class WorkInfo
extends Object


Constructor Summary
WorkInfo(String key, Object userId, Object userInfo, Date time, Long period, boolean atFixedRate)
           
 
Method Summary
 boolean getAtFixedRate()
           
 Object getClientHandle()
           
 ExecutorFeedingTimerTask getExecutorFeedingTimerTask()
           
 Runnable getExecutorTask()
           
 long getId()
           
 String getKey()
           
 Long getPeriod()
           
 Date getTime()
           
 Object getUserId()
           
 Object getUserInfo()
           
 void initialize(ExecutorFeedingTimerTask worker, ExecutorTask taskWrapper)
           
 boolean isOneTime()
           
 void nextInterval()
           
 void setClientHandle(Object clientHandle)
           
 void setId(long id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkInfo

public WorkInfo(String key,
                Object userId,
                Object userInfo,
                Date time,
                Long period,
                boolean atFixedRate)
Method Detail

getKey

public String getKey()

getId

public long getId()

setId

public void setId(long id)

getUserId

public Object getUserId()

getUserInfo

public Object getUserInfo()

getTime

public Date getTime()

getPeriod

public Long getPeriod()

getAtFixedRate

public boolean getAtFixedRate()

initialize

public void initialize(ExecutorFeedingTimerTask worker,
                       ExecutorTask taskWrapper)

getExecutorFeedingTimerTask

public ExecutorFeedingTimerTask getExecutorFeedingTimerTask()

getExecutorTask

public Runnable getExecutorTask()

getClientHandle

public Object getClientHandle()

setClientHandle

public void setClientHandle(Object clientHandle)

isOneTime

public boolean isOneTime()

nextInterval

public void nextInterval()


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.