Package com.complexible.common.memory
Enum MemoryConfiguration.StarrocksComponent
- java.lang.Object
-
- java.lang.Enum<MemoryConfiguration.StarrocksComponent>
-
- com.complexible.common.memory.MemoryConfiguration.StarrocksComponent
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<MemoryConfiguration.StarrocksComponent>
- Enclosing interface:
- MemoryConfiguration
public static enum MemoryConfiguration.StarrocksComponent extends java.lang.Enum<MemoryConfiguration.StarrocksComponent>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BLOCK_CACHEDICT_BLOCK_CACHEMEMTABLETXN_BLOCK_CACHEUNTRACKED_MEMORY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MemoryConfiguration.StarrocksComponentgetInstance(java.lang.String theOption)java.lang.StringgetOption()static MemoryConfiguration.StarrocksComponentvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MemoryConfiguration.StarrocksComponent[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MEMTABLE
public static final MemoryConfiguration.StarrocksComponent MEMTABLE
-
BLOCK_CACHE
public static final MemoryConfiguration.StarrocksComponent BLOCK_CACHE
-
DICT_BLOCK_CACHE
public static final MemoryConfiguration.StarrocksComponent DICT_BLOCK_CACHE
-
TXN_BLOCK_CACHE
public static final MemoryConfiguration.StarrocksComponent TXN_BLOCK_CACHE
-
UNTRACKED_MEMORY
public static final MemoryConfiguration.StarrocksComponent UNTRACKED_MEMORY
-
-
Method Detail
-
values
public static MemoryConfiguration.StarrocksComponent[] 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 (MemoryConfiguration.StarrocksComponent c : MemoryConfiguration.StarrocksComponent.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MemoryConfiguration.StarrocksComponent valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getOption
public java.lang.String getOption()
-
getInstance
public static MemoryConfiguration.StarrocksComponent getInstance(java.lang.String theOption)
-
-