|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.japura.task.TaskManager
public final class TaskManager
Copyright (C) 2011-2012 Carlos Eduardo Leite de Andrade
This library is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this program. If not, see www.gnu.org/licenses/
For more information, contact: www.japura.org
| Method Summary | |
|---|---|
static void |
addListener(TaskManagerListener listener)
|
static void |
cancel(int controllerGroupId)
|
static void |
cancelAll()
|
static DebugComponent |
createDebugPanel()
|
static java.util.List<TaskManagerListener> |
getListeners()
|
static int |
getQueueCount()
|
static boolean |
hasTask()
|
static boolean |
hasTask(Group group)
|
static void |
register(Group group,
AbstractController.TokenKey tokenKey)
|
static void |
removeListener(TaskManagerListener listener)
|
static void |
showDebugWindow()
|
static void |
submit(Task<?> task)
|
static void |
submit(Task<?> task,
boolean isAsynchronous)
|
static void |
submit(TaskSequence taskSequence)
|
static void |
unregister(Group group,
AbstractController.TokenKey tokenKey)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void addListener(TaskManagerListener listener)
public static void removeListener(TaskManagerListener listener)
public static java.util.List<TaskManagerListener> getListeners()
public static void submit(TaskSequence taskSequence)
public static void submit(Task<?> task)
public static void submit(Task<?> task,
boolean isAsynchronous)
public static void register(Group group,
AbstractController.TokenKey tokenKey)
public static void unregister(Group group,
AbstractController.TokenKey tokenKey)
public static boolean hasTask(Group group)
public static boolean hasTask()
public static void cancel(int controllerGroupId)
public static void cancelAll()
public static int getQueueCount()
public static DebugComponent createDebugPanel()
public static void showDebugWindow()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||