Class DistributableTimerSynchronizationFactory<I>
java.lang.Object
org.jboss.as.ejb3.timerservice.distributable.DistributableTimerSynchronizationFactory<I>
- Type Parameters:
I- the timer identifier type
- All Implemented Interfaces:
TimerSynchronizationFactory<I>
public class DistributableTimerSynchronizationFactory<I>
extends Object
implements TimerSynchronizationFactory<I>
Factory for creating
Synchronization instances for a distributed timer service.- Author:
- Paul Ferraro
-
Constructor Summary
Constructors -
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)
-
Constructor Details
-
DistributableTimerSynchronizationFactory
-
-
Method Details
-
getActivateTask
- Specified by:
getActivateTaskin interfaceTimerSynchronizationFactory<I>
-
getCancelTask
- Specified by:
getCancelTaskin interfaceTimerSynchronizationFactory<I>
-
createActivateSynchronization
public jakarta.transaction.Synchronization createActivateSynchronization(Timer<I> timer, Supplier<org.wildfly.clustering.cache.batch.Batch> batchFactory, org.wildfly.clustering.cache.batch.SuspendedBatch suspendedBatch) - Specified by:
createActivateSynchronizationin interfaceTimerSynchronizationFactory<I>
-
createCancelSynchronization
public jakarta.transaction.Synchronization createCancelSynchronization(Timer<I> timer, Supplier<org.wildfly.clustering.cache.batch.Batch> batchFactory, org.wildfly.clustering.cache.batch.SuspendedBatch suspendedBatch) - Specified by:
createCancelSynchronizationin interfaceTimerSynchronizationFactory<I>
-