public static enum ClusteringDependentLogic.Commit extends Enum<ClusteringDependentLogic.Commit>
| Enum Constant and Description |
|---|
COMMIT_LOCAL
Commit the entry, this is the owner.
|
COMMIT_NON_LOCAL
Commit the entry but this node is not an owner, therefore, listeners should not be fired.
|
NO_COMMIT
Do not commit the entry.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isCommit() |
boolean |
isLocal() |
static ClusteringDependentLogic.Commit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClusteringDependentLogic.Commit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClusteringDependentLogic.Commit NO_COMMIT
public static final ClusteringDependentLogic.Commit COMMIT_NON_LOCAL
public static final ClusteringDependentLogic.Commit COMMIT_LOCAL
public static ClusteringDependentLogic.Commit[] values()
for (ClusteringDependentLogic.Commit c : ClusteringDependentLogic.Commit.values()) System.out.println(c);
public static ClusteringDependentLogic.Commit 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 nullpublic boolean isCommit()
public boolean isLocal()
Copyright © 2022 JBoss by Red Hat. All rights reserved.