public class TransactionManager extends Object implements Serializable
| Constructor and Description |
|---|
TransactionManager(HoodieWriteConfig config,
org.apache.hadoop.fs.FileSystem fs) |
| Modifier and Type | Method and Description |
|---|---|
void |
beginTransaction(Option<HoodieInstant> newTxnOwnerInstant,
Option<HoodieInstant> lastCompletedTxnOwnerInstant) |
void |
close() |
void |
endTransaction(Option<HoodieInstant> currentTxnOwnerInstant) |
Option<HoodieInstant> |
getCurrentTransactionOwner() |
Option<HoodieInstant> |
getLastCompletedTransactionOwner() |
LockManager |
getLockManager() |
public TransactionManager(HoodieWriteConfig config, org.apache.hadoop.fs.FileSystem fs)
public void beginTransaction(Option<HoodieInstant> newTxnOwnerInstant, Option<HoodieInstant> lastCompletedTxnOwnerInstant)
public void endTransaction(Option<HoodieInstant> currentTxnOwnerInstant)
public void close()
public LockManager getLockManager()
public Option<HoodieInstant> getLastCompletedTransactionOwner()
public Option<HoodieInstant> getCurrentTransactionOwner()
Copyright © 2022 The Apache Software Foundation. All rights reserved.