@NotThreadSafe public final class ReplicatedValue extends VersionedValue
VersionedValue.Deleted, VersionedValue.Factory, VersionedValue.PurgedPointValue.Null| Modifier and Type | Field and Description |
|---|---|
static String |
DELETED_FIELD
Deleted field key.
|
VERSION_FIELDNULL, POINT_FIELD, STAMP_FIELD, STATE_FIELD, UUID_FIELD, VALUE_FIELDSERIALIZABLE_MODE, SIMPLE_STRING_MODE| Constructor and Description |
|---|
ReplicatedValue()
Constructs an instance.
|
ReplicatedValue(PointValue pointValue)
Constructs an instance.
|
| Modifier and Type | Method and Description |
|---|---|
ReplicatedValue |
copy()
Creates a copy of this point value.
|
boolean |
equals(Object other) |
int |
hashCode() |
boolean |
isDeleted()
Asks if this point value is (going to be) deleted.
|
void |
readExternal(ObjectInput input)
Reads in an external representation of this.
|
void |
readMap(Map<String,Serializable> map)
Reads a map of the fields.
|
void |
setDeleted(boolean deleted)
Sets the deleted indicator.
|
void |
writeExternal(ObjectOutput output)
Writes out an external representation of this.
|
void |
writeMap(Map<String,Serializable> map)
Writes a map of the fields.
|
frozen, getStampString, getVersion, newVersion, setVersion, thawedcheckNotFrozen, 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 static final String DELETED_FIELD
public ReplicatedValue()
This is needed for an Externalizable implementation.
public ReplicatedValue(@Nonnull
PointValue pointValue)
pointValue - The original versioned point value.public ReplicatedValue copy()
copy in class VersionedValuepublic boolean equals(Object other)
equals in class VersionedValuepublic int hashCode()
hashCode in class VersionedValuepublic boolean isDeleted()
A subclass may override this method to supply this functionality.
isDeleted in class PointValueVersionedValue.Deleted.isDeleted()public void readExternal(ObjectInput input)
throws IOException
readExternal in interface ExternalizablereadExternal in class VersionedValueinput - The external representation.IOException - When an I/O error occurs.public void readMap(Map<String,Serializable> map)
readMap in interface MappablereadMap in class VersionedValuemap - The source map.public void setDeleted(boolean deleted)
deleted - The deleted indicator.public void writeExternal(ObjectOutput output)
throws IOException
writeExternal in interface ExternalizablewriteExternal in class VersionedValueoutput - The external representation.IOException - When an I/O error occurs.public void writeMap(Map<String,Serializable> map)
writeMap in interface MappablewriteMap in class VersionedValuemap - The destination map.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.