Enum Class PageMemoryImpl.ThrottlingPolicy
java.lang.Object
java.lang.Enum<PageMemoryImpl.ThrottlingPolicy>
org.apache.ignite.internal.pagemem.PageMemoryImpl.ThrottlingPolicy
- All Implemented Interfaces:
Serializable,Comparable<PageMemoryImpl.ThrottlingPolicy>,Constable
- Enclosing class:
- PageMemoryImpl
Throttling enabled and its type enum.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionOnly exponential throttling is used to protect from CP buffer overflow.All ways of throttling are disabled.Speed based.Target ratio based: CP progress is used as border. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static PageMemoryImpl.ThrottlingPolicy[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DISABLED
All ways of throttling are disabled. -
CHECKPOINT_BUFFER_ONLY
Only exponential throttling is used to protect from CP buffer overflow. -
TARGET_RATIO_BASED
Target ratio based: CP progress is used as border. -
SPEED_BASED
Speed based. CP writting speed and estimated ideal speed are used as border
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-