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 |
NoResponseListener
NoResponseListener is a default listener like HostAvailabilityListener that
is automatically registered with the QueryBatcher and WriteBatcher instances.
|
Modifier and Type | Method and Description |
---|---|
static HostAvailabilityListener |
HostAvailabilityListener.getInstance(Batcher batcher)
Returns the first HostAvailabilityListener instance registered with the
Batcher.
|
HostAvailabilityListener |
HostAvailabilityListener.withHostUnavailableExceptions(java.lang.Class<java.lang.Throwable>... exceptionTypes)
Overwrites the list of exceptions for which a request can be retried and
a MarkLogic host can be blacklisted
|
HostAvailabilityListener |
HostAvailabilityListener.withMinHosts(int numHosts)
If less than minHosts are left, calls stopJob.
|
HostAvailabilityListener |
HostAvailabilityListener.withSuspendTimeForHostUnavailable(java.time.Duration duration)
If a host becomes unavailable (SocketException, SSLException,
UnknownHostException), adds it to the blacklist
|
Copyright © 2013-2021 MarkLogic Corporation.