public interface FlowRunner
| Modifier and Type | Method and Description |
|---|---|
void |
awaitCompletion()
Blocks until the job is complete.
|
void |
awaitCompletion(long timeout,
java.util.concurrent.TimeUnit unit)
Blocks until the job is complete.
|
FlowRunner |
onFinished(FlowFinishedListener listener) |
FlowRunner |
onItemComplete(FlowItemCompleteListener listener) |
FlowRunner |
onItemFailed(FlowItemFailureListener listener) |
FlowRunner |
onStatusChanged(FlowStatusListener listener) |
com.marklogic.client.datamovement.JobTicket |
run() |
FlowRunner |
withBatchSize(int batchSize) |
FlowRunner |
withDestinationDatabase(java.lang.String destinationDatabase) |
FlowRunner |
withFlow(Flow flow) |
FlowRunner |
withOptions(java.util.Map<java.lang.String,java.lang.Object> options) |
FlowRunner |
withSourceClient(com.marklogic.client.DatabaseClient sourceClient) |
FlowRunner |
withStopOnFailure(boolean stopOnFailure) |
FlowRunner |
withThreadCount(int threadCount) |
FlowRunner withFlow(Flow flow)
FlowRunner withBatchSize(int batchSize)
FlowRunner withThreadCount(int threadCount)
FlowRunner withSourceClient(com.marklogic.client.DatabaseClient sourceClient)
FlowRunner withDestinationDatabase(java.lang.String destinationDatabase)
FlowRunner withOptions(java.util.Map<java.lang.String,java.lang.Object> options)
FlowRunner withStopOnFailure(boolean stopOnFailure)
FlowRunner onItemComplete(FlowItemCompleteListener listener)
FlowRunner onItemFailed(FlowItemFailureListener listener)
FlowRunner onStatusChanged(FlowStatusListener listener)
FlowRunner onFinished(FlowFinishedListener listener)
void awaitCompletion()
void awaitCompletion(long timeout,
java.util.concurrent.TimeUnit unit)
throws java.lang.InterruptedException
timeout - the maximum time to waitunit - the time unit of the timeout argumentjava.lang.InterruptedException - if interrupted while waitingcom.marklogic.client.datamovement.JobTicket run()