|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.ws.util.timer.TimerManagerImpl
LOG-DONE DOCUMENT_ME
Field Summary |
Fields inherited from interface commonj.timers.TimerManager |
IMMEDIATE, INDEFINITE |
Constructor Summary | |
TimerManagerImpl()
Creates a new TimerManagerImpl object. |
Method Summary | |
int |
getPoolSize()
DOCUMENT_ME |
boolean |
isStopped()
DOCUMENT_ME |
boolean |
isStopping()
DOCUMENT_ME |
boolean |
isSuspended()
DOCUMENT_ME |
boolean |
isSuspending()
|
protected void |
removeTask(java.lang.Object task)
DOCUMENT_ME |
void |
resume()
DOCUMENT_ME |
commonj.timers.Timer |
schedule(commonj.timers.TimerListener listener,
java.util.Date time)
DOCUMENT_ME |
commonj.timers.Timer |
schedule(commonj.timers.TimerListener listener,
java.util.Date firstTime,
long period)
DOCUMENT_ME |
commonj.timers.Timer |
schedule(commonj.timers.TimerListener listener,
long delay)
DOCUMENT_ME |
commonj.timers.Timer |
schedule(commonj.timers.TimerListener listener,
long delay,
long period)
DOCUMENT_ME |
commonj.timers.Timer |
scheduleAtFixedRate(commonj.timers.TimerListener listener,
java.util.Date firstTime,
long period)
DOCUMENT_ME |
commonj.timers.Timer |
scheduleAtFixedRate(commonj.timers.TimerListener listener,
long delay,
long period)
DOCUMENT_ME |
void |
setPoolSize(int poolSize)
DOCUMENT_ME |
void |
stop()
DOCUMENT_ME |
void |
suspend()
DOCUMENT_ME |
boolean |
waitForStop(long timeout_ms)
DOCUMENT_ME |
boolean |
waitForSuspend(long timeout_ms)
DOCUMENT_ME |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TimerManagerImpl()
TimerManagerImpl
object.
Method Detail |
public void setPoolSize(int poolSize)
poolSize
- DOCUMENT_MEpublic int getPoolSize()
public boolean isStopped()
isStopped
in interface commonj.timers.TimerManager
public boolean isStopping()
isStopping
in interface commonj.timers.TimerManager
public boolean isSuspended() throws java.lang.IllegalStateException
isSuspended
in interface commonj.timers.TimerManager
java.lang.IllegalStateException
- DOCUMENT_MEpublic boolean isSuspending() throws java.lang.IllegalStateException
isSuspending
in interface commonj.timers.TimerManager
java.lang.IllegalStateException
public void resume()
resume
in interface commonj.timers.TimerManager
public commonj.timers.Timer schedule(commonj.timers.TimerListener listener, java.util.Date firstTime, long period)
schedule
in interface commonj.timers.TimerManager
listener
- DOCUMENT_MEfirstTime
- DOCUMENT_MEperiod
- DOCUMENT_ME
public commonj.timers.Timer schedule(commonj.timers.TimerListener listener, java.util.Date time)
schedule
in interface commonj.timers.TimerManager
listener
- DOCUMENT_MEtime
- DOCUMENT_ME
public commonj.timers.Timer schedule(commonj.timers.TimerListener listener, long delay, long period)
schedule
in interface commonj.timers.TimerManager
listener
- DOCUMENT_MEdelay
- DOCUMENT_MEperiod
- DOCUMENT_ME
public commonj.timers.Timer schedule(commonj.timers.TimerListener listener, long delay)
schedule
in interface commonj.timers.TimerManager
listener
- DOCUMENT_MEdelay
- DOCUMENT_ME
public commonj.timers.Timer scheduleAtFixedRate(commonj.timers.TimerListener listener, java.util.Date firstTime, long period)
scheduleAtFixedRate
in interface commonj.timers.TimerManager
listener
- DOCUMENT_MEfirstTime
- DOCUMENT_MEperiod
- DOCUMENT_ME
public commonj.timers.Timer scheduleAtFixedRate(commonj.timers.TimerListener listener, long delay, long period)
scheduleAtFixedRate
in interface commonj.timers.TimerManager
listener
- DOCUMENT_MEdelay
- DOCUMENT_MEperiod
- DOCUMENT_ME
public void stop()
stop
in interface commonj.timers.TimerManager
public void suspend()
suspend
in interface commonj.timers.TimerManager
public boolean waitForStop(long timeout_ms) throws java.lang.InterruptedException, java.lang.IllegalArgumentException
waitForStop
in interface commonj.timers.TimerManager
timeout_ms
- DOCUMENT_ME
java.lang.InterruptedException
- DOCUMENT_ME
java.lang.IllegalArgumentException
- DOCUMENT_MEpublic boolean waitForSuspend(long timeout_ms) throws java.lang.InterruptedException, java.lang.IllegalStateException, java.lang.IllegalArgumentException
waitForSuspend
in interface commonj.timers.TimerManager
timeout_ms
- DOCUMENT_ME
java.lang.InterruptedException
- DOCUMENT_ME
java.lang.IllegalStateException
- DOCUMENT_ME
java.lang.IllegalArgumentException
- DOCUMENT_MEprotected void removeTask(java.lang.Object task)
task
- DOCUMENT_ME
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |