public static enum KetchReplica.CommitSpeed extends Enum<KetchReplica.CommitSpeed>
Enum Constant and Description |
---|
BATCHED
If the next proposal is available, batch the commit with it,
otherwise just send the commit.
|
FAST
Send the commit immediately, even if it could be batched with the
next proposal.
|
Modifier and Type | Method and Description |
---|---|
static KetchReplica.CommitSpeed |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KetchReplica.CommitSpeed[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KetchReplica.CommitSpeed FAST
public static final KetchReplica.CommitSpeed BATCHED
public static KetchReplica.CommitSpeed[] values()
for (KetchReplica.CommitSpeed c : KetchReplica.CommitSpeed.values()) System.out.println(c);
public static KetchReplica.CommitSpeed valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2016 Eclipse JGit Project. All rights reserved.