Package org.apache.kafka.streams.state
Class VersionedRecord<V>
java.lang.Object
org.apache.kafka.streams.state.VersionedRecord<V>
- Type Parameters:
V
- The value type
Combines a value (from a key-value record) with a timestamp, for use as the return type
from
VersionedKeyValueStore.get(Object, long)
and related methods.-
Constructor Summary
ConstructorDescriptionVersionedRecord
(V value, long timestamp) Create a newVersionedRecord
instance.VersionedRecord
(V value, long timestamp, long validTo) Create a newVersionedRecord
instance. -
Method Summary
-
Constructor Details
-
VersionedRecord
- Parameters:
value
- The valuetimestamp
- The type of the result returned by this query.
-
VersionedRecord
- Parameters:
value
- The valuetimestamp
- The timestampvalidTo
- The exclusive upper bound of the validity interval
-
-
Method Details