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
The status of a file cache entry.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe cache entry is closed and no longer available for use permanently.The cache entry is invalid and should not be used.The cache entry is fully loaded and available for use.The cache entry is in the process of being loaded.The cache entry has been removed and is not available.The cache entry is in the process of being removed. -
Method Summary
Modifier and TypeMethodDescriptionstatic FileCacheEntry.EntryStatusReturns 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 Details
-
LOADED
The cache entry is fully loaded and available for use. -
LOADING
The cache entry is in the process of being loaded. -
INVALID
The cache entry is invalid and should not be used. -
REMOVING
The cache entry is in the process of being removed. -
REMOVED
The cache entry has been removed and is not available. Can be reopeneded for reading. -
CLOSED
The cache entry is closed and no longer available for use permanently.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-