public enum ShardedCounterStatusInput extends Enum<ShardedCounterStatusInput>
ShardedCounter.CounterStatus in that the API can set a counter into various statuses that a client is not able to set.| Enum Constant and Description |
|---|
AVAILABLE
This Counter is available to be incremented, decremented, or deleted.
|
READ_ONLY_COUNT
This Counter is not available to be incremented or decremented, though its details can be updated.
|
| Modifier and Type | Method and Description |
|---|---|
static ShardedCounterStatusInput |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShardedCounterStatusInput[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShardedCounterStatusInput AVAILABLE
public static final ShardedCounterStatusInput READ_ONLY_COUNT
public static ShardedCounterStatusInput[] values()
for (ShardedCounterStatusInput c : ShardedCounterStatusInput.values()) System.out.println(c);
public static ShardedCounterStatusInput 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 © 2015–2016 Instacount. All rights reserved.