public class NonClusteredEagerEvictionScheduler<I,T> extends Object implements Scheduler<I>, BeanGroupEvictor<I>, Consumer<I>
| Modifier and Type | Method and Description |
|---|---|
void |
accept(I id) |
void |
cancel(I id)
Cancels a previously scheduled task for specified bean.
|
void |
cancel(Locality locality)
Cancels any previous scheduled tasks for beans which are no longer local to the current node
|
void |
close()
Closes any resources used by this scheduler.
|
void |
evict(I id)
Evicts the bean group identified by the specified identifier.
|
void |
prepareRescheduling(I id)
Invalidates a previously scheduled task for specified bean whose task
will be rescheduled again.
|
void |
schedule(I id)
Schedules a task for the specified bean.
|
void |
schedule(I id,
ImmutableBeanEntry<I> entry)
Schedules a task for the specified bean.
|
public void schedule(I id)
Schedulerpublic void schedule(I id, ImmutableBeanEntry<I> entry)
Schedulerpublic void prepareRescheduling(I id)
SchedulerprepareRescheduling in interface Scheduler<I>id - a bean identifierpublic void cancel(I id)
Schedulerpublic void cancel(Locality locality)
Schedulerpublic void close()
Schedulerclose in interface AutoCloseableclose in interface Scheduler<I>public void evict(I id)
BeanGroupEvictorevict in interface BeanGroupEvictor<I>id - a bean group identifier.Copyright © 2019 JBoss by Red Hat. All rights reserved.