com.scalar.db.transaction.consensuscommit.MutationComposer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scalardb Show documentation
Show all versions of scalardb Show documentation
A universal transaction manager that achieves database-agnostic transactions and distributed transactions that span multiple databases
package com.scalar.db.transaction.consensuscommit;
import com.scalar.db.api.Mutation;
import com.scalar.db.api.Operation;
import com.scalar.db.exception.storage.ExecutionException;
import java.util.List;
import javax.annotation.Nullable;
public interface MutationComposer {
void add(Operation base, @Nullable TransactionResult result) throws ExecutionException;
List get();
}