Package com.luciad.fusion.tilestore
Enum Class ALfnTileStore.CommitPolicy
- All Implemented Interfaces:
Serializable
,Comparable<ALfnTileStore.CommitPolicy>
,Constable
- Enclosing class:
ALfnTileStore
The commit policy determines when new tiles will be visible.
PER_TILE
means that new tiles will be visible immediately. This is the default. As fusion progresses, new tiles will become visible incrementally. However, it also means that a view consisting of multiple tiles may be inconsistent: some tiles may be new, others may be old (or missing).PER_COVERAGE
means that new tiles will not be visible until fusion completes. After completion, new tiles become visible all at once. The completion of fusion is triggered by an put of the coverage metadata, when all its assets become complete. This policy does not work well with the fusion engine's checkpointing mechanism.- When used in combination with checkpointing, all engine sessions
must be configured to produce all levels. This can be done by callingsetLevelsToProduce
on aRasterSessionBuilder
with an array containing all levels, such asnew byte[] { 0, 1, ..., 24 }
. Note that this may introduce scalability issues when there are lots (hundreds) of new assets to be fused in that session. - Alternatively, the saving of checkpoints can be disabled by setting the checkpoint directory to
null
on theALfnEngineEnvironment
.
- When used in combination with checkpointing, all engine sessions
- Since:
- 2012.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ALfnTileStore.CommitPolicy
Returns the enum constant of this class with the specified name.static ALfnTileStore.CommitPolicy[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PER_TILE
-
PER_COVERAGE
-
-
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
-