public class KarelDbTimestampStorage extends Object implements org.apache.omid.timestamp.storage.TimestampStorage
| Constructor and Description |
|---|
KarelDbTimestampStorage(io.kcache.Cache<Long,Long> cache) |
| Modifier and Type | Method and Description |
|---|---|
long |
getMaxTimestamp() |
void |
updateMaxTimestamp(long previousMaxTimestamp,
long newMaxTimestamp) |
public void updateMaxTimestamp(long previousMaxTimestamp,
long newMaxTimestamp)
throws IOException
updateMaxTimestamp in interface org.apache.omid.timestamp.storage.TimestampStorageIOExceptionpublic long getMaxTimestamp()
getMaxTimestamp in interface org.apache.omid.timestamp.storage.TimestampStorageCopyright © 2020. All rights reserved.