Skip to content
Success

#33 (Aug 8, 2024, 5:26:04 PM)

Started 1 yr 11 mo ago
Took 2.7 sec
Build Artifacts
annotation-0.0.2-SNAPSHOT.jar22.09 KiB view
annotation-0.0.2-SNAPSHOT.pom1.84 KiB view
Allow data and metadata update de-duplication

This commit adds a DuplicateAction to the pushed updates, which determines the behaviour when the pushed update contains a duplicate value or metadata value. A duplicate value is determined by object equality, or == if one value is null. The default for resource values is that duplicates updates are applied, updating the timestamp and generating a update event. The default for metadata values is that duplicate updates are ignored, avoiding timestamp updates and update events. The reason for this difference is that repeated data readings can often give the same value, but this is a new reading. In general metadata values do not change, and so duplicates aren't interesting.

Signed-off-by: Tim Ward <timothyjward@apache.org>
(commit: d56f449)
timothyjward at
Further improvements to timestamp mapping
(commit: 508355c)
timothyjward at
Changes in dependency
  1. sensinact-parent #29#33 (detail)