Interface TimerSynchronizationFactory<I>

  • Type Parameters:
    I - the timer identifier type
    All Known Implementing Classes:
    DistributableTimerSynchronizationFactory

    public interface TimerSynchronizationFactory<I>
    Factory for creating Synchronization instances for a distributed timer service. Used to defer timer activation or cancellation until an active transaction is committed.
    Author:
    Paul Ferraro
    • Method Detail

      • createActivateSynchronization

        jakarta.transaction.Synchronization createActivateSynchronization​(Timer<I> timer,
                                                                          Batch batch,
                                                                          Batcher<Batch> batcher)
      • createCancelSynchronization

        jakarta.transaction.Synchronization createCancelSynchronization​(Timer<I> timer,
                                                                        Batch batch,
                                                                        Batcher<Batch> batcher)