public static class KarelDbTransactionManager.CommitTimestampLocatorImpl extends Object implements org.apache.omid.transaction.CommitTimestampLocator
| Constructor and Description |
|---|
CommitTimestampLocatorImpl(KarelDbCellId cellId,
Map<Long,Long> commitCache,
VersionedCache versionedCache) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.base.Optional<Long> |
readCommitTimestampFromCache(long startTimestamp) |
com.google.common.base.Optional<Long> |
readCommitTimestampFromShadowCell(long startTimestamp) |
public CommitTimestampLocatorImpl(KarelDbCellId cellId, Map<Long,Long> commitCache, VersionedCache versionedCache)
public com.google.common.base.Optional<Long> readCommitTimestampFromCache(long startTimestamp)
readCommitTimestampFromCache in interface org.apache.omid.transaction.CommitTimestampLocatorpublic com.google.common.base.Optional<Long> readCommitTimestampFromShadowCell(long startTimestamp) throws IOException
readCommitTimestampFromShadowCell in interface org.apache.omid.transaction.CommitTimestampLocatorIOExceptionCopyright © 2020. All rights reserved.