G - the group identifier typeI - the bean identifier typeT - the bean typepublic class BeanExpirationScheduler<G,I,T> extends Object implements Scheduler<Bean<G,I,T>>
| Constructor and Description |
|---|
BeanExpirationScheduler(Batcher batcher,
BeanRemover<I,T> remover,
ExpirationConfiguration<T> expiration) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel(Bean<G,I,T> group)
Cancels the scheduled task for the specified value.
|
void |
close()
Closes any resources used by this scheduler.
|
void |
schedule(Bean<G,I,T> bean)
Schedules some task for the specified value.
|
public BeanExpirationScheduler(Batcher batcher, BeanRemover<I,T> remover, ExpirationConfiguration<T> expiration)
Copyright © 2014 JBoss by Red Hat. All rights reserved.