Enum Class ALfnTileStore.CommitPolicy

java.lang.Object
java.lang.Enum<ALfnTileStore.CommitPolicy>
com.luciad.fusion.tilestore.ALfnTileStore.CommitPolicy
All Implemented Interfaces:
Serializable, Comparable<ALfnTileStore.CommitPolicy>, Constable
Enclosing class:
ALfnTileStore

public static enum ALfnTileStore.CommitPolicy extends Enum<ALfnTileStore.CommitPolicy>
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 calling setLevelsToProduce on a RasterSessionBuilder with an array containing all levels, such as new 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 the ALfnEngineEnvironment.
Since:
2012.0
  • Enum Constant Details

  • Method Details

    • values

      public static ALfnTileStore.CommitPolicy[] 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

      public static ALfnTileStore.CommitPolicy valueOf(String name)
      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 name
      NullPointerException - if the argument is null