Package org.apache.sis.storage.tiling
Enum Class TileStatus
- All Implemented Interfaces:
- Serializable,- Comparable<TileStatus>,- Constable
Information about the availability of a tile. Some 
TileMatrix implementations
 may not know whether a tile exists or not before the first attempt to read that tile.
 Consequently, a tile status may be initially UNKNOWN and transitions
 at a later time to a state such as EXISTS, MISSING or IN_ERROR.- Since:
- 1.2
- See Also:
Defined in the sis-storage module
- 
Nested Class SummaryNested classes/interfaces inherited from class EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionThe tile exists.The tile exists but attempt to read it failed.The tile is flagged as missing.The tile for which a status has been requested is outside theTileMatrixextent.The tile status cannot be known unless the tile is read.
- 
Method SummaryModifier and TypeMethodDescriptionstatic TileStatusReturns the enum constant of this class with the specified name.static TileStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enumclone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
- 
Enum Constant Details- 
UNKNOWNThe tile status cannot be known unless the tile is read. This value is returned by someTileMatriximplementations when determining the availability of a tile would require relatively costly I/O operations.
- 
EXISTSThe tile exists. However, this is not a guarantee that no I/O error will happen when reading the tile, neither that the tile will be non-empty. If an I/O error happens at tile reading time, then the tile status should transition fromEXISTStoIN_ERROR.
- 
MISSINGThe tile is flagged as missing. It may happen in regions where no data is available.
- 
OUTSIDE_EXTENTThe tile for which a status has been requested is outside theTileMatrixextent.
- 
IN_ERRORThe tile exists but attempt to read it failed. It may be because anIOExceptionoccurred while reading the tile.
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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 name
- NullPointerException- if the argument is null
 
 
-