@PublicApi
public interface ValuesMeta
ValuesMeta
contains additional information about an attribute loading process, executed by calling
StructureAttributeService.loadAttributeValues(com.almworks.jira.structure.api.forest.ForestSpec, boolean, com.almworks.integers.LongList, java.util.Collection<? extends com.almworks.jira.structure.api.attribute.AttributeSpec<?>>, com.almworks.jira.structure.api.attribute.AttributeValuesReceiver)
. An instance of ValuesMeta
is received via
AttributeValuesReceiver.receiveMeta(ValuesMeta)
method.
ValuesMeta
may be used to extract diagnostic information about failed attributes. It can also be used to check if the
there may be any updates to the values loaded.
Modifier and Type | Method and Description |
---|---|
DataVersion |
getForestCacheSequence()
Returns the version of the forest-based value cache at which the values were loaded, or
DataVersion.ZERO if
the forest was not versioned. |
DataVersion |
getForestVersion()
Returns the version of the forest that was used to load the values.
|
DataVersion |
getItemCacheSequence()
Returns the version of the item-based value cache at which the values were loaded.
|
DataVersion |
getItemsVersion()
Returns the version of the item change stream at a moment before all the values were loaded.
|
Collection<AttributeErrorInfo> |
getLoadingErrors()
Returns the errors encountered during loading the values.
|
@NotNull Collection<AttributeErrorInfo> getLoadingErrors()
@NotNull DataVersion getItemsVersion()
ItemTracker
@NotNull DataVersion getForestVersion()
DataVersion.ZERO
if the
forest was non-versioned (based on ItemForest
).ForestSource
@Internal @NotNull DataVersion getItemCacheSequence()
@Internal @NotNull DataVersion getForestCacheSequence()
DataVersion.ZERO
if
the forest was not versioned. This version reflects the sequence of invalidation events in the cache.
This method is intended for internal use.Copyright © 2024 Tempo Software. All Rights Reserved.