Package org.apache.solr.common.params
Enum CollectionParams.LockLevel
- java.lang.Object
- 
- java.lang.Enum<CollectionParams.LockLevel>
- 
- org.apache.solr.common.params.CollectionParams.LockLevel
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<CollectionParams.LockLevel>
 - Enclosing interface:
- CollectionParams
 
 public static enum CollectionParams.LockLevel extends Enum<CollectionParams.LockLevel> 
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description CLUSTERCOLLECTIONNONEREPLICASHARD
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CollectionParams.LockLevelgetChild()intgetHeight()booleanisHigherOrEqual(CollectionParams.LockLevel that)static CollectionParams.LockLevelvalueOf(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.
 
- 
- 
- 
Enum Constant Detail- 
NONEpublic static final CollectionParams.LockLevel NONE 
 - 
REPLICApublic static final CollectionParams.LockLevel REPLICA 
 - 
SHARDpublic static final CollectionParams.LockLevel SHARD 
 - 
COLLECTIONpublic static final CollectionParams.LockLevel COLLECTION 
 - 
CLUSTERpublic static final CollectionParams.LockLevel CLUSTER 
 
- 
 - 
Method Detail- 
valuespublic static CollectionParams.LockLevel[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CollectionParams.LockLevel c : CollectionParams.LockLevel.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static CollectionParams.LockLevel valueOf(String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
 - 
getChildpublic CollectionParams.LockLevel getChild() 
 - 
getHeightpublic int getHeight() 
 - 
isHigherOrEqualpublic boolean isHigherOrEqual(CollectionParams.LockLevel that) 
 
- 
 
-