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