Package | Description |
---|---|
com.marklogic.client.datamovement |
The MarkLogic Data Movement SDK supports long-running write, read,
delete, or transform jobs.
|
com.marklogic.client.example.cookbook.datamovement |
Modifier and Type | Class and Description |
---|---|
class |
HostAvailabilityListener
HostAvailabilityListener is automatically registered with all QueryBatcher
and WriteBatcher instances to monitor for failover scenarios.
|
class |
NoResponseListener
NoResponseListener is a default listener like HostAvailabilityListener that
is automatically registered with the QueryBatcher and WriteBatcher instances.
|
Modifier and Type | Method and Description |
---|---|
WriteFailureListener[] |
WriteBatcher.getBatchFailureListeners()
Get the array of WriteFailureListener instances
registered via onBatchFailure including the HostAvailabilityListener
registered by default.
|
Modifier and Type | Method and Description |
---|---|
WriteBatcher |
WriteBatcher.onBatchFailure(WriteFailureListener listener)
Add a listener to run each time there is an exception writing a batch.
|
void |
WriteBatcher.setBatchFailureListeners(WriteFailureListener... listeners)
Remove any existing WriteFailureListener instances
registered via onBatchFailure including the HostAvailabilityListener
registered by default and replace them with the provided listeners.
|
Modifier and Type | Class and Description |
---|---|
class |
JobInformationRecorder.addWriteBatchFailureInformationListener |
Copyright © 2013-2020 MarkLogic Corporation.