Class BeanExpirationScheduler<I,T>
- java.lang.Object
-
- org.wildfly.clustering.ee.infinispan.scheduler.AbstractCacheEntryScheduler<I,ImmutableBeanEntry<I>>
-
- org.wildfly.clustering.ejb.infinispan.BeanExpirationScheduler<I,T>
-
- Type Parameters:
I- the bean identifier typeT- the bean type
- All Implemented Interfaces:
AutoCloseable,CacheEntryScheduler<I,ImmutableBeanEntry<I>>,org.wildfly.clustering.ee.Scheduler<I,ImmutableBeanEntry<I>>
public class BeanExpirationScheduler<I,T> extends AbstractCacheEntryScheduler<I,ImmutableBeanEntry<I>>
Schedules a bean for expiration.- Author:
- Paul Ferraro
-
-
Constructor Summary
Constructors Constructor Description BeanExpirationScheduler(org.wildfly.clustering.group.Group group, org.wildfly.clustering.ee.Batcher<org.wildfly.clustering.ee.cache.tx.TransactionBatch> batcher, BeanFactory<I,T> factory, ExpirationConfiguration<T> expiration, BeanRemover<I,T> remover, Duration closeTimeout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidschedule(I id)-
Methods inherited from class org.wildfly.clustering.ee.infinispan.scheduler.AbstractCacheEntryScheduler
cancel, cancel, close, schedule, stream, toString
-
-
-
-
Constructor Detail
-
BeanExpirationScheduler
public BeanExpirationScheduler(org.wildfly.clustering.group.Group group, org.wildfly.clustering.ee.Batcher<org.wildfly.clustering.ee.cache.tx.TransactionBatch> batcher, BeanFactory<I,T> factory, ExpirationConfiguration<T> expiration, BeanRemover<I,T> remover, Duration closeTimeout)
-
-
Method Detail
-
schedule
public void schedule(I id)
-
-