public enum ConcurrencyPolicy extends Enum<ConcurrencyPolicy>
Enum Constant and Description |
---|
PER_CLUSTER
Denotes that concurrency limits apply at the cluster level.
|
PER_NODE
Denotes that concurrency limits apply at the node level.
|
Modifier and Type | Method and Description |
---|---|
static ConcurrencyPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConcurrencyPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConcurrencyPolicy PER_CLUSTER
public static final ConcurrencyPolicy PER_NODE
public static ConcurrencyPolicy[] values()
for (ConcurrencyPolicy c : ConcurrencyPolicy.values()) System.out.println(c);
public static ConcurrencyPolicy 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 © 2019 Atlassian. All rights reserved.