Commit 2491527
committed
refactor(common): move AbstractDistributedTransactionProvider from api to common
AbstractDistributedTransactionProvider is an internal abstract helper base, not part of the public
API; its sibling abstract bases (AbstractDistributedTransaction, AbstractDistributedTransactionManager,
AbstractTwoPhaseCommitTransaction, ...) already live in com.scalar.db.common, so it belongs there
too. The public SPI contract, the DistributedTransactionProvider interface, stays in com.scalar.db.api.
The in-tree subclasses (ConsensusCommitProvider, JdbcTransactionProvider) are updated to the new
import. Out-of-tree subclasses that extend this base (e.g. the cluster's transaction providers) must
update their import to com.scalar.db.common.AbstractDistributedTransactionProvider in a paired change.1 parent fcc76cb commit 2491527
3 files changed
Lines changed: 6 additions & 8 deletions
File tree
- core/src/main/java/com/scalar/db
- common
- transaction
- consensuscommit
- jdbc
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
8 | 6 | | |
9 | 7 | | |
10 | 8 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments