Interface Scheduler<I,M>
-
- All Superinterfaces:
AutoCloseable,org.wildfly.clustering.ee.Scheduler<I,M>
public interface Scheduler<I,M> extends org.wildfly.clustering.ee.Scheduler<I,M>A task scheduler.- Author:
- Paul Ferraro
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcancel(Locality locality)Cancels any previous scheduled tasks for session which are no longer local to the current nodevoidschedule(I id)Schedules an object with the specified identifier.
-
-
-
Method Detail
-
schedule
void schedule(I id)
Schedules an object with the specified identifier.- Parameters:
id- the identifier of the object to be scheduled
-
cancel
void cancel(Locality locality)
Cancels any previous scheduled tasks for session which are no longer local to the current node- Parameters:
location- the cache locality
-
-