public interface IExecutionService extends IService
EMPTY_SERVICES
Modifier and Type | Method and Description |
---|---|
IFuture<Void> |
cancel(IExecutable task)
Cancel a task.
|
void |
execute(IExecutable task)
Execute a task.
|
IFuture<Void> |
getNextIdleFuture()
Get the future indicating that executor is idle.
|
IExecutable[] |
getRunningTasks()
Get the currently running or waiting tasks.
|
getPropertyMap, getServiceIdentifier, isValid
addNFProperty, getNFAllPropertyNames, getNFPropertyMetaInfo, getNFPropertyMetaInfos, getNFPropertyNames, getNFPropertyValue, getNFPropertyValue, removeNFProperty, shutdownNFPropertyProvider
addMethodNFProperty, getMethodNFAllPropertyNames, getMethodNFPropertyMetaInfo, getMethodNFPropertyMetaInfos, getMethodNFPropertyMetaInfos, getMethodNFPropertyNames, getMethodNFPropertyValue, getMethodNFPropertyValue, removeMethodNFProperty, shutdownNFPropertyProvider
void execute(IExecutable task)
task
- The task to execute.IFuture<Void> cancel(IExecutable task)
task
- The task to execute.IExecutable[] getRunningTasks()
Copyright © 2015. All Rights Reserved.