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 Summary
Modifier and TypeMethodDescriptionjakarta.transaction.SynchronizationcreateActivateSynchronization(Timer<I> timer, Supplier<org.wildfly.clustering.cache.batch.Batch> batchFactory, org.wildfly.clustering.cache.batch.SuspendedBatch suspendedBatch) jakarta.transaction.SynchronizationcreateCancelSynchronization(Timer<I> timer, Supplier<org.wildfly.clustering.cache.batch.Batch> batchFactory, org.wildfly.clustering.cache.batch.SuspendedBatch suspendedBatch)
-
Method Details
-
createActivateSynchronization
-
createCancelSynchronization
-
getActivateTask
-
getCancelTask
-