Index

A B C G M N P R S T 
All Classes and Interfaces|All Packages|Serialized Form

A

addCurrentTaskPool(Consumer<TaskPool>) - Method in interface me.hsgamer.hscore.task.element.TaskProcess
Execute the consumer for the current task pool
addFirst(Runnable...) - Method in class me.hsgamer.hscore.task.element.TaskPool
Add the task to the head of the task pool
addFirst(Consumer<TaskProcess>) - Method in class me.hsgamer.hscore.task.element.TaskPool
Add the task to the head of the task pool
addLast(Runnable...) - Method in class me.hsgamer.hscore.task.element.TaskPool
Add the task to the tail of the task pool
addLast(Consumer<TaskProcess>) - Method in class me.hsgamer.hscore.task.element.TaskPool
Add the task to the tail of the task pool
addTaskPool(int, Consumer<TaskPool>) - Method in class me.hsgamer.hscore.task.BatchRunnable
Execute the consumer for the task pool
addTaskPool(int, Consumer<TaskPool>) - Method in interface me.hsgamer.hscore.task.element.TaskProcess
Execute the consumer for the task pool

B

BatchRunnable - Class in me.hsgamer.hscore.task
A runnable that runs a batch of tasks in sequence
BatchRunnable() - Constructor for class me.hsgamer.hscore.task.BatchRunnable
Create a new batch runnable with no initial data
BatchRunnable(Map<String, Object>) - Constructor for class me.hsgamer.hscore.task.BatchRunnable
Create a new batch runnable
BatchRunnableException - Exception in me.hsgamer.hscore.task.exception
The exception thrown when the BatchRunnable is unexpectedly stopped
BatchRunnableException(Throwable) - Constructor for exception me.hsgamer.hscore.task.exception.BatchRunnableException
 

C

complete() - Method in interface me.hsgamer.hscore.task.element.TaskProcess
Notify the BatchRunnable to stop

G

getCurrentTaskPool() - Method in interface me.hsgamer.hscore.task.element.TaskProcess
Get the current task pool
getData() - Method in class me.hsgamer.hscore.task.BatchRunnable
Get the data
getData() - Method in interface me.hsgamer.hscore.task.element.TaskProcess
Get the data of the running BatchRunnable
getStage() - Method in class me.hsgamer.hscore.task.element.TaskPool
Get the stage of the task pool
getTaskPool(int) - Method in class me.hsgamer.hscore.task.BatchRunnable
Get the task pool
getTaskPool(int) - Method in interface me.hsgamer.hscore.task.element.TaskProcess
Get the task pool

M

me.hsgamer.hscore.task - package me.hsgamer.hscore.task
Contains the classes to work with tasks and threads
me.hsgamer.hscore.task.element - package me.hsgamer.hscore.task.element
Contains the elements to work with tasks
me.hsgamer.hscore.task.exception - package me.hsgamer.hscore.task.exception
Contains exceptions for tasks

N

next() - Method in interface me.hsgamer.hscore.task.element.TaskProcess
Notify the next task

P

pollTask() - Method in class me.hsgamer.hscore.task.element.TaskPool
Poll the task

R

run() - Method in class me.hsgamer.hscore.task.BatchRunnable
 

S

setTimeout(long, TimeUnit) - Method in class me.hsgamer.hscore.task.BatchRunnable
Set the timeout for each task

T

TaskPool - Class in me.hsgamer.hscore.task.element
The task pool of the BatchRunnable
TaskPool(int) - Constructor for class me.hsgamer.hscore.task.element.TaskPool
Create a new task pool
TaskProcess - Interface in me.hsgamer.hscore.task.element
The task process.
A B C G M N P R S T 
All Classes and Interfaces|All Packages|Serialized Form