public class RecordingTransaction extends RecordingTransactionBase implements org.apache.fluo.api.client.Transaction
Transaction that logs all transactions operations (GET, SET, or
DELETE) in a TxLog that can be used for exports| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
commit() |
static RecordingTransaction |
wrap(org.apache.fluo.api.client.Transaction tx)
Creates a RecordingTransaction by wrapping an existing Transaction
|
static RecordingTransaction |
wrap(org.apache.fluo.api.client.Transaction tx,
Predicate<LogEntry> filter)
Creates a RecordingTransaction using the provided LogEntry filter and existing Transaction
|
delete, get, get, get, get, getStartTimestamp, getTxLog, scanner, set, setWeakNotification, wrap, wrapdelete, set, setWeakNotificationget, get, get, gets, gets, gets, gets, gets, gets, getsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic void commit()
throws org.apache.fluo.api.exceptions.CommitException
commit in interface org.apache.fluo.api.client.Transactionorg.apache.fluo.api.exceptions.CommitExceptionpublic void close()
close in interface AutoCloseableclose in interface org.apache.fluo.api.client.Transactionpublic static RecordingTransaction wrap(org.apache.fluo.api.client.Transaction tx)
public static RecordingTransaction wrap(org.apache.fluo.api.client.Transaction tx, Predicate<LogEntry> filter)
Copyright © 2016–2018 The Apache Software Foundation. All rights reserved.