org.seasar.extension.timer
クラス TimeoutManager

java.lang.Object
  拡張org.seasar.extension.timer.TimeoutManager
すべての実装インタフェース:
Runnable

public class TimeoutManager
extends Object
implements Runnable


フィールドの概要
protected static TimeoutManager instance
           
protected  Thread thread
           
protected  org.seasar.framework.util.SLinkedList timeoutTaskList
           
 
メソッドの概要
 TimeoutTask addTimeoutTarget(TimeoutTarget timeoutTarget, int timeout, boolean permanent)
           
 void clear()
           
protected  List getExpiredTask()
           
static TimeoutManager getInstance()
           
 int getTimeoutTaskCount()
           
 void run()
           
 void start()
           
 void stop()
           
protected  boolean stopIfLeisure()
           
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

instance

protected static final TimeoutManager instance

thread

protected Thread thread

timeoutTaskList

protected final org.seasar.framework.util.SLinkedList timeoutTaskList
メソッドの詳細

getInstance

public static TimeoutManager getInstance()

start

public void start()

stop

public void stop()

clear

public void clear()

addTimeoutTarget

public TimeoutTask addTimeoutTarget(TimeoutTarget timeoutTarget,
                                    int timeout,
                                    boolean permanent)

getTimeoutTaskCount

public int getTimeoutTaskCount()

run

public void run()
定義:
インタフェース Runnable 内の run

getExpiredTask

protected List getExpiredTask()

stopIfLeisure

protected boolean stopIfLeisure()


Copyright © 2004-2007 The Seasar Foundation. All Rights Reserved.