Package | Description |
---|---|
com.marklogic.client.datamovement |
The MarkLogic Data Movement SDK supports
long-running write, read, delete, or transform jobs.
|
Modifier and Type | Class | Description |
---|---|---|
static class |
ProgressListener.SimpleProgressUpdate |
Simple implementation of ProgressUpdate; only
real thing of interest in here is how it generates the progress as
a string for display purposes.
|
Modifier and Type | Method | Description |
---|---|---|
protected ProgressListener.ProgressUpdate |
ProgressListener.newProgressUpdate(QueryBatch batch,
long startTime, long totalForThisUpdate,
double timeSoFar) |
A subclass can override this to provide a
different implementation of ProgressUpdate.
|
Modifier and Type | Method | Description |
---|---|---|
protected void |
ProgressListener.invokeConsumer(java.util.function.Consumer<ProgressListener.ProgressUpdate> consumer,
ProgressListener.ProgressUpdate progressUpdate) |
Protected so that a subclass can override how a
consumer is invoked, particularly how an exception is
handled.
|
Modifier and Type | Method | Description |
---|---|---|
protected void |
ProgressListener.invokeConsumer(java.util.function.Consumer<ProgressListener.ProgressUpdate> consumer,
ProgressListener.ProgressUpdate progressUpdate) |
Protected so that a subclass can override how a
consumer is invoked, particularly how an exception is
handled.
|
ProgressListener |
ProgressListener.onProgressUpdate(java.util.function.Consumer<ProgressListener.ProgressUpdate> consumer) |
Configures a callback for progress
updates.
|
Copyright © 2022 MarkLogic Corporation