THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
package org.apache.kafka.streams.state;
/**
* A representation of a versioned key-value store as a {@link KeyValueStore} of type <Bytes, byte[]>.
* See {@link VersionedBytesStoreSupplier} for more.
*/
public interface VersionedBytesStore extends KeyValueStore<Bytes, byte[]>, TimestampedBytesStore {
/**
* The analog of {@link VersionedKeyValueStore#get(Object, long)}.
*/
byte[] get(Bytes key, long asOfTimestamp);
/**
* The analog of {@link VersionedKeyValueStore#delete(Object, long)}.
*/
byte[] delete(Bytes key, long timestamp);
} |
Internally, this interface will be used to assist in the representation of VersionedKeyValueStore<Bytes, byte[]>
as KeyValueStore<Bytes, byte[]>
.
...