T - type of resultTError - type of errorpublic abstract static class Task.Cpu<T,TError extends Exception> extends Task<T,TError>
| Modifier and Type | Class and Description |
|---|---|
static class |
Task.Cpu.FromRunnable
CPU task from a Runnable.
|
static class |
Task.Cpu.FromSupplierThrows<T,TError extends Exception>
CPU task from a Supplier.
|
static class |
Task.Cpu.Parameter<TParam,TResult,TError extends Exception>
Task using only CPU resource and holding a parameter.
|
NB_PRIORITES, PRIORITY_BACKGROUND, PRIORITY_IMPORTANT, PRIORITY_LOW, PRIORITY_NORMAL, PRIORITY_RATHER_IMPORTANT, PRIORITY_RATHER_LOW, PRIORITY_TOP, PRIORITY_URGENT, STATUS_BLOCKED, STATUS_DONE, STATUS_EXECUTED, STATUS_NOT_STARTED, STATUS_RUNNING, STATUS_STARTED_READY, STATUS_STARTED_WAITING, taskJoin| Constructor and Description |
|---|
Cpu(String description,
byte priority)
Constructor.
|
Cpu(String description,
byte priority,
Consumer<Pair<T,TError>> ondone)
Constructor.
|
cancel, cancelIfExecutionNotStarted, changeNextExecutionTime, ensureUnblocked, executeAgainAt, executeAgainIn, executeAt, executeEvery, executeIn, executeNextOccurenceNow, executeNextOccurenceNow, getApplication, getCancelEvent, getDescription, getError, getMaxBlockingTimeInNanoBeforeToLog, getOutput, getPriority, getResult, getStatus, getTaskManager, hasError, isCancelled, isCancelling, isDone, isRunning, isStarted, isSuccessful, ondone, run, setDescription, setDone, setError, setPriority, start, startOn, startOn, startOnDone, stopRepeat, toStringCopyright © 2019. All rights reserved.