Enum IgniteDefragmentation.CancelResult
- java.lang.Object
-
- java.lang.Enum<IgniteDefragmentation.CancelResult>
-
- org.apache.ignite.internal.processors.cache.persistence.defragmentation.IgniteDefragmentation.CancelResult
-
- All Implemented Interfaces:
Serializable,Comparable<IgniteDefragmentation.CancelResult>
- Enclosing interface:
- IgniteDefragmentation
public static enum IgniteDefragmentation.CancelResult extends Enum<IgniteDefragmentation.CancelResult>
Result of the cancellation.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CANCELLEDCancelled ongoing defragmentation.CANCELLED_SCHEDULEDCancelled scheduled defragmentation.COMPLETED_OR_CANCELLEDDefragmentation is already completed or cancelled.SCHEDULED_NOT_FOUNDNothing to cancel, no ongoing defragmentation.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IgniteDefragmentation.CancelResultvalueOf(String name)Returns the enum constant of this type with the specified name.static IgniteDefragmentation.CancelResult[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CANCELLED_SCHEDULED
public static final IgniteDefragmentation.CancelResult CANCELLED_SCHEDULED
Cancelled scheduled defragmentation.
-
SCHEDULED_NOT_FOUND
public static final IgniteDefragmentation.CancelResult SCHEDULED_NOT_FOUND
Nothing to cancel, no ongoing defragmentation.
-
CANCELLED
public static final IgniteDefragmentation.CancelResult CANCELLED
Cancelled ongoing defragmentation.
-
COMPLETED_OR_CANCELLED
public static final IgniteDefragmentation.CancelResult COMPLETED_OR_CANCELLED
Defragmentation is already completed or cancelled.
-
-
Method Detail
-
values
public static IgniteDefragmentation.CancelResult[] 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 (IgniteDefragmentation.CancelResult c : IgniteDefragmentation.CancelResult.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IgniteDefragmentation.CancelResult 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 nameNullPointerException- if the argument is null
-
-