public enum PageReplacementMode extends Enum<PageReplacementMode>
DataRegionConfiguration
.Enum Constant and Description |
---|
CLOCK
CLOCK algorithm.
|
RANDOM_LRU
Random-LRU algorithm.
|
SEGMENTED_LRU
Segmented-LRU algorithm.
|
Modifier and Type | Method and Description |
---|---|
static @Nullable PageReplacementMode |
fromOrdinal(int ord)
Efficiently gets enumerated value from its ordinal.
|
static PageReplacementMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PageReplacementMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PageReplacementMode RANDOM_LRU
DataRegionMetrics.getPagesReplaceRate()
metric, which
can be helpful here).public static final PageReplacementMode SEGMENTED_LRU
public static final PageReplacementMode CLOCK
public static PageReplacementMode[] values()
for (PageReplacementMode c : PageReplacementMode.values()) System.out.println(c);
public static PageReplacementMode 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 null@Nullable public static @Nullable PageReplacementMode fromOrdinal(int ord)
ord
- Ordinal value.null
if ordinal out of range.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023