Index

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

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 the default data storage
BatchRunnable(TaskData) - Constructor for class me.hsgamer.hscore.task.BatchRunnable
Create a new batch runnable

C

complete() - Method in interface me.hsgamer.hscore.task.element.TaskProcess
Notify the BatchRunnable to stop
create() - Static method in interface me.hsgamer.hscore.task.element.TaskData
Create a new instance of TaskData that uses ConcurrentHashMap

G

get(String) - Method in interface me.hsgamer.hscore.task.element.TaskData
Get the value from the data
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
getRaw(String) - Method in interface me.hsgamer.hscore.task.element.TaskData
Get the raw value from the data
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

I

isTimeout() - Method in class me.hsgamer.hscore.task.BatchRunnable
Check if the task is interrupted by the timeout

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

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
put(String, Object) - Method in interface me.hsgamer.hscore.task.element.TaskData
Put the value to the data

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

TaskData - Interface in me.hsgamer.hscore.task.element
The data storage for the task
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 I M N P R S T 
All Classes and Interfaces|All Packages