public class PendingTaskExecutor extends Object
| Modifier and Type | Field and Description | 
|---|---|
| static boolean | running | 
| Constructor and Description | 
|---|
| PendingTaskExecutor() | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | addRunningTask(Long tkId)Register running task. | 
| static Set<Long> | getRunningTasks()Return running tasks. | 
| static boolean | isRunningTask(Long tkId)Check if task is running. | 
| static void | removeRunningTask(Long tkId)Deregister running task. | 
| void | run()Process pending tasks | 
| static void | shutdown()Shutdown executor right now. | 
public static void addRunningTask(Long tkId)
public static void removeRunningTask(Long tkId)
public static boolean isRunningTask(Long tkId)
public void run()
         throws DatabaseException
DatabaseExceptionpublic static void shutdown()
Copyright © 2015. All Rights Reserved.