com.atomikos.thread
Class TaskManager

java.lang.Object
  extended by com.atomikos.thread.TaskManager

public class TaskManager
extends Object

Scheduling logic for tasks/threads.


Constructor Summary
protected TaskManager()
           
 
Method Summary
 void executeTask(Runnable task)
          Schedules a task for execution by a thread.
static TaskManager getInstance()
          Gets the singleton instance.
 void shutdown()
          Notification of shutdown to close all pooled threads.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaskManager

protected TaskManager()
Method Detail

getInstance

public static final TaskManager getInstance()
Gets the singleton instance.

Returns:

shutdown

public void shutdown()
Notification of shutdown to close all pooled threads.


executeTask

public void executeTask(Runnable task)
Schedules a task for execution by a thread.

Parameters:
task -


Copyright © 2016. All Rights Reserved.