public interface TaskHandler
The task handler will hold a unique 64bit integer id for each registered task. The task handle is the reference to this id. When it is finalized the ID will be handed back to the pool and can be reassigned. This finalization must be transparent to the user.
Modifier and Type | Interface and Description |
---|---|
static interface |
TaskHandler.Handle
A task handle which will hold a reference to the assigned task id
|
Modifier and Type | Method and Description |
---|---|
TaskHandler.Handle |
addTask(NotifyFuture<?> future) |
boolean |
cancelTask(Long id) |
void |
dispose()
Dispose and cancel all tasks
|
boolean |
removeTask(Long id) |
TaskHandler.Handle addTask(NotifyFuture<?> future)
boolean removeTask(Long id)
boolean cancelTask(Long id)
void dispose()
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.