Contents
Enum Class ChunkFlag
- All Implemented Interfaces:
Flag, Serializable, Comparable<ChunkFlag>, Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSet when a chunk column was loaded from a pre-split-CF on-disk blob (embedded sections and/or anEntityChunk).Set: chunk was newly generated.If set the chunk has a column record on disk (loaded from disk, or saved at least once this session). -
Method Summary
Methods inherited from class Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
NEWLY_GENERATED
Set: chunk was newly generated. Not set: chunk was loaded from disk or some other means. -
ON_DISK
If set the chunk has a column record on disk (loaded from disk, or saved at least once this session). May still be dirty/outdated. -
NEEDS_FORMAT_REWRITE
Set when a chunk column was loaded from a pre-split-CF on-disk blob (embedded sections and/or anEntityChunk). Such a column must have its entire contents (column, everyChunkSectionandEntitySection) written on the next save: the save path strips the embedded copy from the blob but persists only dirty sections, so a partial rewrite would drop clean terrain and a never-rewritten blob keeps re-runningMigrateEntityChunkand duplicating entities on every load.
-
-
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
-
mask
-