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 |
---|---|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
JobInformationRecorder.addQueryBatchFailureInformationListener |
Copyright © 2013-2020 MarkLogic Corporation.