Modifier and Type | Method and Description |
---|---|
DataVersion |
ValuesMeta.getForestCacheSequence()
Returns the version of the forest-based value cache at which the values were loaded, or
ZERO if
the forest was not versioned. |
DataVersion |
ValuesMeta.getForestVersion()
Returns the version of the forest that was used to load the values.
|
DataVersion |
ConsistentRowValues.getForestVersion()
Returns the version of forest that was used to calculate the values.
|
DataVersion |
ValuesMeta.getItemCacheSequence()
Returns the version of the item-based value cache at which the values were loaded.
|
DataVersion |
ValuesMeta.getItemsVersion()
Returns the version of the item change stream at a moment before all the values were loaded.
|
DataVersion |
ConsistentRowValues.getItemsVersion()
Returns the version of the item update stream that was current when the values were loaded.
|
Constructor and Description |
---|
ConsistentRowValues(Forest forest,
LongList requestedRows,
Collection<? extends AttributeSpec<?>> requestedAttributes,
RowValues values,
DataVersion forestVersion,
DataVersion itemsVersion) |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<DataVersion> |
AttributeSubscription.loadValues()
Requests that the subscription performs attribute loading.
|
Modifier and Type | Method and Description |
---|---|
AttributeSubscriptionUpdate |
AttributeSubscription.getUpdate(DataVersion fromVersion)
A quick, non-blocking retrieval of the updated values.
|
Constructor and Description |
---|
AttributeSubscriptionUpdate(DataVersion version,
boolean full,
RowValues values) |
Modifier and Type | Field and Description |
---|---|
DataVersion |
EffectBatch.version |
Constructor and Description |
---|
EffectBatch(ForestSpec spec,
DataVersion version,
LongIterable movedRows,
RowsToReplace redoReplace,
RowsToReplace undoReplace,
List<EffectPair> effects) |
Modifier and Type | Method and Description |
---|---|
DataVersion |
VersionedForest.getVersion()
Returns the version.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ForestSource.hasUpdate(DataVersion sinceVersion)
This method allows to quickly check if the caller has the last version of the forest.
|
Constructor and Description |
---|
VersionedForest(Forest forest,
DataVersion version)
Constructs an instance.
|
Modifier and Type | Method and Description |
---|---|
ItemVersionUpdate |
StructureGenerator.GenerationContext.itemsUpdate(DataVersion sinceVersion)
Returns the item version update since the given version.
|
Modifier and Type | Method and Description |
---|---|
abstract DataVersion |
ItemVersionUpdate.getFromVersion() |
DataVersion |
ItemVersionUpdate.Empty.getFromVersion() |
DataVersion |
ItemVersionUpdate.Total.getFromVersion() |
Modifier and Type | Method and Description |
---|---|
ItemVersionUpdate |
ItemTracker.getUpdate(DataVersion fromVersion)
Provides an update on the tracked items, based on the previously seen signature and version.
|
Constructor and Description |
---|
Empty(DataVersion version) |
ItemVersionUpdate(DataVersion version) |
Total(DataVersion version) |
Modifier and Type | Field and Description |
---|---|
static DataVersion |
DataVersion.ZERO |
Modifier and Type | Method and Description |
---|---|
DataVersion |
VersionedDataSource.getCurrentVersion()
Returns the current version of the data without triggering data source's recalculation.
|
DataVersion |
VersionedDataUpdate.getVersion()
Returns the version associated with this update.
|
DataVersion |
DataVersion.increment()
Creates a new
DataVersion with version incremented by 1. |
DataVersion |
DataVersion.increment(int count)
Creates a new
DataVersion with version incremented by the specified amount. |
Modifier and Type | Method and Description |
---|---|
T |
VersionedDataSource.getUpdate(DataVersion fromVersion)
Returns an update based on the version of the data that the client has.
|
boolean |
DataVersion.isBefore(DataVersion anotherVersion)
Returns
true if this version is "before" the given version, that is, it has the same signature
and lower version. |
boolean |
DataVersion.isComparable(DataVersion anotherVersion)
Returns
true if this version can be compared to the specified version (that is possible only if
their signatures match) |
Constructor and Description |
---|
VersionedDataUpdate(DataVersion version) |
Modifier and Type | Method and Description |
---|---|
DataVersion |
RestVersion.toModel() |
Modifier and Type | Method and Description |
---|---|
static RestVersion |
RestVersion.fromModel(DataVersion version) |
Copyright © 2024 Tempo Software. All Rights Reserved.