All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.scalar.database.api.DistributedTransactionManager Maven / Gradle / Ivy

Go to download

A universal transaction manager that achieves database-agnostic transactions and distributed transactions that span multiple databases

There is a newer version: 3.14.0-alpha.1
Show newest version
package com.scalar.database.api;

public interface DistributedTransactionManager {

  void with(String namespace, String tableName);

  DistributedTransaction start();

  DistributedTransaction start(Isolation isolation);

  /**
   * Closes connections to the cluster. The connections are shared among multiple services such as
   * StorageService and TransactionService, thus this should only be used when closing applications.
   */
  void close();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy