public static enum CollectionParams.LockLevel extends Enum<CollectionParams.LockLevel>
Enum Constant and Description |
---|
CLUSTER |
COLLECTION |
NONE |
REPLICA |
SHARD |
Modifier and Type | Field and Description |
---|---|
int |
level |
Modifier and Type | Method and Description |
---|---|
CollectionParams.LockLevel |
getChild() |
static CollectionParams.LockLevel |
getLevel(int i) |
boolean |
isHigherOrEqual(CollectionParams.LockLevel that) |
static CollectionParams.LockLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CollectionParams.LockLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CollectionParams.LockLevel CLUSTER
public static final CollectionParams.LockLevel COLLECTION
public static final CollectionParams.LockLevel SHARD
public static final CollectionParams.LockLevel REPLICA
public static final CollectionParams.LockLevel NONE
public static CollectionParams.LockLevel[] values()
for (CollectionParams.LockLevel c : CollectionParams.LockLevel.values()) System.out.println(c);
public static CollectionParams.LockLevel 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 CollectionParams.LockLevel getChild()
public static CollectionParams.LockLevel getLevel(int i)
public boolean isHigherOrEqual(CollectionParams.LockLevel that)
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.