|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use TaskIdentifier | |
---|---|
rabbit.nio | The nio components that rabbit uses. |
rabbit.nio.statistics | Statistics about time taken for the different tasks the nio handler have done. |
Uses of TaskIdentifier in rabbit.nio |
---|
Classes in rabbit.nio that implement TaskIdentifier | |
---|---|
class |
DefaultTaskIdentifier
A basic immutable task identifier |
Methods in rabbit.nio that return types with arguments of type TaskIdentifier | |
---|---|
Map<String,List<TaskIdentifier>> |
StatisticsHolder.getPendingTasks()
Get information about the currently pending tasks. |
Map<String,List<TaskIdentifier>> |
StatisticsHolder.getRunningTasks()
Get information about the currently running tasks. |
Methods in rabbit.nio with parameters of type TaskIdentifier | |
---|---|
void |
StatisticsHolder.addPendingTask(TaskIdentifier ti)
A new task is put in the queue, waiting to be handled. |
void |
StatisticsHolder.changeTaskStatusToFinished(TaskIdentifier ti,
boolean wasOk,
long timeSpent)
A task has been completed. |
void |
StatisticsHolder.changeTaskStatusToRunning(TaskIdentifier ti)
A pending task is about to be run. |
void |
NioHandler.runThreadTask(Runnable r,
TaskIdentifier ti)
Run a task in a background thread. |
void |
MultiSelectorNioHandler.runThreadTask(Runnable r,
TaskIdentifier ti)
|
Constructors in rabbit.nio with parameters of type TaskIdentifier | |
---|---|
StatisticsCollector(StatisticsHolder stats,
Runnable realTask,
TaskIdentifier ti)
Create a new StatisticsCollector that will update the given StatisticsHolder about the specific job. |
Uses of TaskIdentifier in rabbit.nio.statistics |
---|
Fields in rabbit.nio.statistics declared as TaskIdentifier | |
---|---|
TaskIdentifier |
CompletionEntry.ti
The identifier of the task that has been completed. |
Constructors in rabbit.nio.statistics with parameters of type TaskIdentifier | |
---|---|
CompletionEntry(TaskIdentifier ti,
boolean wasOk,
long timeSpent)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |