Package com.couchbase.lite
Enum Class ReplicatorActivityLevel
- All Implemented Interfaces:
Serializable
,Comparable<ReplicatorActivityLevel>
,java.lang.constant.Constable
Activity level of a replicator.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe replication is actively transferring data.The replicator is connecting to the remote host.The replication is inactive; either waiting for changes or offline as the remote host is unreachable.The replicator is offline because the remote host is unreachable.The replication is finished or hit a fatal error. -
Method Summary
Modifier and TypeMethodDescriptionstatic ReplicatorActivityLevel
Returns the enum constant of this class with the specified name.static ReplicatorActivityLevel[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STOPPED
The replication is finished or hit a fatal error. -
OFFLINE
The replicator is offline because the remote host is unreachable. -
CONNECTING
The replicator is connecting to the remote host. -
IDLE
The replication is inactive; either waiting for changes or offline as the remote host is unreachable. -
BUSY
The replication is actively transferring data.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-