|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Timer
org.glite.security.voms.service.VOMSTimer
General timer for VOMS: a decorated singleton for Timer
that extends it with an interface for waiting for the currently running
timer (if any) to finish execution.
The timer thread is used by CAUpdater
to schedule updates on the CA
table and for various other periodic administrative activities.
Method Summary | |
void |
cancel()
|
void |
cancelAndWait()
|
static VOMSTimer |
getInstance(java.lang.String name)
Factory method. |
boolean |
isCancelled()
Returns true if the timer has been cancelled. |
boolean |
isRunning()
Return true if the task is currently running. |
static java.util.Iterator |
iterator()
Return an iterator on all VOMSTimers. |
void |
schedule(java.util.TimerTask task,
java.util.Date time)
|
void |
schedule(java.util.TimerTask task,
java.util.Date firstTime,
long period)
|
void |
schedule(java.util.TimerTask task,
long delay)
|
void |
schedule(java.util.TimerTask task,
long delay,
long period)
|
void |
scheduleAtFixedRate(java.util.TimerTask task,
java.util.Date firstTime,
long period)
|
void |
scheduleAtFixedRate(java.util.TimerTask task,
long delay,
long period)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static VOMSTimer getInstance(java.lang.String name)
public static java.util.Iterator iterator()
public boolean isRunning()
public boolean isCancelled()
public void cancel()
public void cancelAndWait()
public void schedule(java.util.TimerTask task, java.util.Date time)
public void schedule(java.util.TimerTask task, java.util.Date firstTime, long period)
public void schedule(java.util.TimerTask task, long delay)
public void schedule(java.util.TimerTask task, long delay, long period)
public void scheduleAtFixedRate(java.util.TimerTask task, java.util.Date firstTime, long period)
public void scheduleAtFixedRate(java.util.TimerTask task, long delay, long period)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |