public static enum ALfnTileStore.CommitPolicy extends Enum<ALfnTileStore.CommitPolicy>
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.
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.null
on
the ALfnEngineEnvironment
.Enum Constant and Description |
---|
PER_COVERAGE |
PER_TILE |
Modifier and Type | Method and Description |
---|---|
static ALfnTileStore.CommitPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ALfnTileStore.CommitPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ALfnTileStore.CommitPolicy PER_TILE
public static final ALfnTileStore.CommitPolicy PER_COVERAGE
public static ALfnTileStore.CommitPolicy[] values()
for (ALfnTileStore.CommitPolicy c : ALfnTileStore.CommitPolicy.values()) System.out.println(c);
public static ALfnTileStore.CommitPolicy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null