@NotThreadSafe public static final class VersionedValue.Purged extends VersionedValue
Like VersionedValue.Deleted but used to purge values.
VersionedValue.Deleted, VersionedValue.Factory, VersionedValue.PurgedPointValue.NullVERSION_FIELDNULL, POINT_FIELD, STAMP_FIELD, STATE_FIELD, UUID_FIELD, VALUE_FIELDSERIALIZABLE_MODE, SIMPLE_STRING_MODE| Constructor and Description |
|---|
Purged()
Constructs an instance.
|
Purged(PointValue pointValue)
Constructs an instance.
|
Purged(String point,
Optional<DateTime> stamp)
Constructs an instance.
|
Purged(UUID uuid,
Optional<DateTime> stamp)
Constructs an instance.
|
| Modifier and Type | Method and Description |
|---|---|
VersionedValue.Purged |
copy()
Creates a copy of this point value.
|
boolean |
isDeleted()
Asks if this point value is (going to be) deleted.
|
equals, frozen, getStampString, getVersion, hashCode, newVersion, readExternal, readMap, setVersion, thawed, writeExternal, writeMapcheckNotFrozen, clearStamp, confirm, copyValueFrom, decoded, denormalized, encoded, freeze, getNullablePoint, getPoint, getPointName, getPointUUID, getStamp, getState, getSynthesizedString, getThisLogger, getValue, hasPointUUID, hasStamp, isAbsent, isCacheable, isExtrapolated, isFrozen, isInterpolated, isNormalized, isPresent, isSynthesized, morph, morph, normalized, pointString, reset, restore, restore, sameValueAs, setFrozen, setPointName, setPointUUID, setStamp, setState, setValue, toDouble, toLong, toString, toString, updateStore, validate, valueStringpublic Purged()
This is needed for an externalizable implementation.
public Purged(@Nonnull
PointValue pointValue)
pointValue - The original point value.public Purged(@Nonnull
String point,
@Nonnull
Optional<DateTime> stamp)
point - A string identifying the point.stamp - The optional time stamp of the value.public VersionedValue.Purged copy()
copy in class VersionedValuepublic boolean isDeleted()
A subclass may override this method to supply this functionality.
isDeleted in class PointValueVersionedValue.Deleted.isDeleted()Copyright © 2003-2019 Serge Brisson. All Rights Reserved.