public interface BulkService
| Modifier and Type | Method and Description |
|---|---|
boolean |
await(String commandId,
Duration duration)
Waits for completion of given bulk command.
|
BulkStatus |
getStatus(String commandId) |
String |
submit(BulkCommand command)
Submits a
BulkCommand that will be processed asynchronously. |
String submit(BulkCommand command)
BulkCommand that will be processed asynchronously.command - the command to submitBulkStatus getStatus(String commandId)
boolean await(String commandId, Duration duration) throws InterruptedException
commandId - the command to waitduration - the duration to waittrue if bulk command completed or false if computation has not finished after the timeoutInterruptedExceptionCopyright © 2018 Nuxeo. All rights reserved.