org.xvsm.internal
Class TimeoutSchedulerPool

Package class diagram package TimeoutSchedulerPool
java.lang.Object
  extended by org.xvsm.internal.TimeoutSchedulerPool

public final class TimeoutSchedulerPool
extends java.lang.Object

Author:
Christian Schreiber, Michael Proestler

Method Summary
static void init()
          Persudes the TimeoutSchedularPool to re-read the configuration file and restart the pool with the new configuration.
static void remove(java.lang.Runnable r)
          Removes a task.
static java.util.concurrent.ScheduledFuture<?> schedule(java.lang.Runnable r)
          Schedules a new task.
static void shutdown()
          Initiates an orderly shutdown in which previously submitted tasks are executed, but no new tasks will be accepted.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

schedule

public static java.util.concurrent.ScheduledFuture<?> schedule(java.lang.Runnable r)
Schedules a new task.

Parameters:
r - the task to schedule.

remove

public static void remove(java.lang.Runnable r)
Removes a task.

Parameters:
r - the task to remove

shutdown

public static void shutdown()
Initiates an orderly shutdown in which previously submitted tasks are executed, but no new tasks will be accepted.


init

public static void init()
Persudes the TimeoutSchedularPool to re-read the configuration file and restart the pool with the new configuration.



Copyright © 2009. All Rights Reserved.