Package com.couchbase.lite
Enum ReplicatorActivityLevel
- All Implemented Interfaces:
Serializable
,Comparable<ReplicatorActivityLevel>
Activity level of a replicator.
-
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 type with the specified name.static ReplicatorActivityLevel[]
values()
Returns an array containing the constants of this enum type, 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 type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-