public static interface CommitTable.Client
| Modifier and Type | Method and Description |
|---|---|
org.apache.phoenix.thirdparty.com.google.common.util.concurrent.ListenableFuture<Void> |
deleteCommitEntry(long startTimestamp) |
org.apache.phoenix.thirdparty.com.google.common.util.concurrent.ListenableFuture<org.apache.phoenix.thirdparty.com.google.common.base.Optional<CommitTable.CommitTimestamp>> |
getCommitTimestamp(long startTimestamp)
Checks whether a transaction commit data is inside the commit table The function also checks whether the
transaction was invalidated and returns a commit timestamp type accordingly.
|
org.apache.phoenix.thirdparty.com.google.common.util.concurrent.ListenableFuture<Long> |
readLowWatermark() |
org.apache.phoenix.thirdparty.com.google.common.util.concurrent.ListenableFuture<Boolean> |
tryInvalidateTransaction(long startTimeStamp)
Atomically tries to invalidate a non-committed transaction launched by a previous TSO server.
|
org.apache.phoenix.thirdparty.com.google.common.util.concurrent.ListenableFuture<org.apache.phoenix.thirdparty.com.google.common.base.Optional<CommitTable.CommitTimestamp>> getCommitTimestamp(long startTimestamp)
startTimestamp - the transaction start timestamporg.apache.phoenix.thirdparty.com.google.common.util.concurrent.ListenableFuture<Long> readLowWatermark()
org.apache.phoenix.thirdparty.com.google.common.util.concurrent.ListenableFuture<Void> deleteCommitEntry(long startTimestamp)
org.apache.phoenix.thirdparty.com.google.common.util.concurrent.ListenableFuture<Boolean> tryInvalidateTransaction(long startTimeStamp)
startTimeStamp - the transaction to invalidateCopyright © 2011–2020 Apache Software Foundation. All rights reserved.