Interface AtomicPoint<V>
- Type Parameters:
V- the value type
- All Superinterfaces:
Comparable<TemporalPoint<V, DataPointType>>, DataPoint<V>, SnapshotCapable, TemporalPoint<V, DataPointType>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DataPointTypetype()ReturnsStandardDataPointType.ATOMIC.default AtomicPoint<V> Returns a copy that is a snapshot at the current time.withSnapshot(Instant timestamp) Returns a copy that is a snapshot at the given time.Methods inherited from interface DataPoint
quality, value, valueClassMethods inherited from interface SnapshotCapable
isSnapshot, snapshotTimestampMethods inherited from interface TemporalPoint
compareTo, source, timestamp
-
Method Details
-
type
ReturnsStandardDataPointType.ATOMIC.- Specified by:
typein interfaceDataPoint<V>- Specified by:
typein interfaceTemporalPoint<V, DataPointType>
-
withSnapshot
Returns a copy that is a snapshot at the current time.- Specified by:
withSnapshotin interfaceSnapshotCapable
-
withSnapshot
Returns a copy that is a snapshot at the given time.- Specified by:
withSnapshotin interfaceSnapshotCapable- Parameters:
timestamp- the snapshot time
-