Interface PostPreCommitStep

All Superinterfaces:
ThreePhaseCommitStep

@Beta public interface PostPreCommitStep extends ThreePhaseCommitStep
User implementation of steps following pre-commit from Three-Phase Protocol.
  • Field Details

  • Method Details

    • commit

      @NonNull ListenableFuture<?> commit()
      Commits cohort transaction. This callback is invoked by three-phase commit coordinator if associated data transaction finished pre-commit phase and will be commited. Implementation should make state, which were derived by implementation from associated data visible.
      Returns:
      Listenable Future which will complete once commit is finished.