Package org.nuxeo.ecm.core.api
Interface AsyncService<K extends Serializable,S extends AsyncStatus<K>,V>
- Type Parameters:
K
- type of task idS
- type of statusV
- type of result
- All Known Subinterfaces:
BulkService
- All Known Implementing Classes:
BulkServiceImpl
public interface AsyncService<K extends Serializable,S extends AsyncStatus<K>,V>
Interface to be implemented by asynchronous services.
- Since:
- 10.3
-
Method Summary
-
Method Details
-
getStatus
Returns the status of a task. -
abort
Aborts an asynchronous task. Service should try to cancel the task, if not possible it must try to stop it. -
getResult
Retrieves the command execution result.
-