Class SchedulerDocument
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.cloudant.v1.model.SchedulerDocument
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
Schema for replication state. -
Method Summary
Modifier and TypeMethodDescriptionGets the database.getDocId()
Gets the docId.Gets the errorCount.getId()
Gets the id.getInfo()
Gets the info.Gets the lastUpdated.getNode()
Gets the node.Gets the source.Deprecated.this method is deprecated and may be removed in a future releaseGets the startTime.getState()
Gets the state.Gets the target.Deprecated.this method is deprecated and may be removed in a future releaseMethods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
getDatabase
Gets the database. Database where replication document came from.- Returns:
- the database
-
getDocId
-
getErrorCount
Gets the errorCount. Consecutive errors count. Indicates how many times in a row this replication has crashed. Replication will be retried with an exponential backoff based on this number. As soon as the replication succeeds this count is reset to 0. To can be used to get an idea why a particular replication is not making progress.- Returns:
- the errorCount
-
getId
Gets the id. Replication ID, or null if state is completed or failed.- Returns:
- the id
-
getInfo
Gets the info. Schema for scheduler document information. A JSON object that may contain additional information about the state. For error states this will contain an error field and string value.- Returns:
- the info
-
getLastUpdated
Gets the lastUpdated. Timestamp of last state update.- Returns:
- the lastUpdated
-
getNode
-
getSource
-
getSourceProxy
Deprecated.this method is deprecated and may be removed in a future releaseGets the sourceProxy. Forbidden in IBM Cloudant mediated replications. Address of the (http or socks5 protocol) proxy server through which replication with the source database occurs.- Returns:
- the sourceProxy
-
getStartTime
Gets the startTime. Timestamp of when the replication was started.- Returns:
- the startTime
-
getState
-
getTarget
-
getTargetProxy
Deprecated.this method is deprecated and may be removed in a future releaseGets the targetProxy. Forbidden in IBM Cloudant mediated replications. Address of the (http or socks5 protocol) proxy server through which replication with the target database occurs.- Returns:
- the targetProxy
-