Class BeanExpirationScheduler<I,​T>

    • 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,
                             ImmutableBeanEntry<I> entry)
        Specified by:
        schedule in interface org.wildfly.clustering.ee.Scheduler<I,​T>
      • cancel

        public void cancel​(I id)
        Specified by:
        cancel in interface org.wildfly.clustering.ee.Scheduler<I,​T>
      • close

        public void close()
        Specified by:
        close in interface AutoCloseable
        Specified by:
        close in interface org.wildfly.clustering.ee.Scheduler<I,​T>
      • test

        public boolean test​(I id)
        Specified by:
        test in interface Predicate<I>