public static enum Replicator.State extends java.lang.Enum<Replicator.State>
Describes the state of a Replicator
at a given moment.
Enum Constant and Description |
---|
COMPLETE
The last replication successfully completed.
|
ERROR
The last replication completed in error.
|
PENDING
The replicator is initialised and is ready to start.
|
STARTED
A replication is in progress.
|
STOPPED
The last replication was stopped using
Replicator.stop() . |
STOPPING
Replicator.stop() has
been called and the replicator is stopping its worker threads. |
Modifier and Type | Method and Description |
---|---|
static Replicator.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Replicator.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Replicator.State PENDING
public static final Replicator.State STARTED
public static final Replicator.State STOPPED
Replicator.stop()
.public static final Replicator.State STOPPING
Replicator.stop()
has
been called and the replicator is stopping its worker threads.public static final Replicator.State COMPLETE
public static final Replicator.State ERROR
public static Replicator.State[] values()
for (Replicator.State c : Replicator.State.values()) System.out.println(c);
public static Replicator.State valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null