Enum FileCacheEntry.EntryStatus
- java.lang.Object
-
- java.lang.Enum<FileCacheEntry.EntryStatus>
-
- org.apache.flink.state.forst.fs.cache.FileCacheEntry.EntryStatus
-
- All Implemented Interfaces:
Serializable,Comparable<FileCacheEntry.EntryStatus>
- Enclosing class:
- FileCacheEntry
public static enum FileCacheEntry.EntryStatus extends Enum<FileCacheEntry.EntryStatus>
The status of a file cache entry.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLOSEDThe cache entry is closed and no longer available for use permanently.INVALIDThe cache entry is invalid and should not be used.LOADEDThe cache entry is fully loaded and available for use.LOADINGThe cache entry is in the process of being loaded.REMOVEDThe cache entry has been removed and is not available.REMOVINGThe cache entry is in the process of being removed.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FileCacheEntry.EntryStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static FileCacheEntry.EntryStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOADED
public static final FileCacheEntry.EntryStatus LOADED
The cache entry is fully loaded and available for use.
-
LOADING
public static final FileCacheEntry.EntryStatus LOADING
The cache entry is in the process of being loaded.
-
INVALID
public static final FileCacheEntry.EntryStatus INVALID
The cache entry is invalid and should not be used.
-
REMOVING
public static final FileCacheEntry.EntryStatus REMOVING
The cache entry is in the process of being removed.
-
REMOVED
public static final FileCacheEntry.EntryStatus REMOVED
The cache entry has been removed and is not available. Can be reopeneded for reading.
-
CLOSED
public static final FileCacheEntry.EntryStatus CLOSED
The cache entry is closed and no longer available for use permanently.
-
-
Method Detail
-
values
public static FileCacheEntry.EntryStatus[] 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 (FileCacheEntry.EntryStatus c : FileCacheEntry.EntryStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FileCacheEntry.EntryStatus 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
-
-