Class BsaTransactions

java.lang.Object
google.registry.bsa.BsaTransactions

public final class BsaTransactions extends Object
Helpers for executing JPA transactions for BSA processing.

All mutating transactions for BSA are executed at the TRANSACTION_REPEATABLE_READ level since the global BsaLock ensures there is a single writer at any time.

All domain and label queries can use the replica since all processing are snapshot based.

  • Method Details

    • bsaTransact

      @CanIgnoreReturnValue public static <T> T bsaTransact(Callable<T> work)
    • bsaTransact

      public static void bsaTransact(TransactionManager.ThrowingRunnable work)
    • bsaQuery

      @CanIgnoreReturnValue public static <T> T bsaQuery(Callable<T> work)