Interface ScheduleCommand<I,M>
- Type Parameters:
I- the identifier type of the entry to scheduleM- the meta data type of the entry to schedule
- All Superinterfaces:
org.wildfly.clustering.server.dispatcher.Command<Void,CacheEntryScheduler<I, M>, RuntimeException>
- All Known Implementing Classes:
ScheduleWithMetaDataCommand,ScheduleWithTransientMetaDataCommand
public interface ScheduleCommand<I,M>
extends org.wildfly.clustering.server.dispatcher.Command<Void,CacheEntryScheduler<I,M>,RuntimeException>
Command that scheduled an entry.
- Author:
- Paul Ferraro
-
Method Details
-
getId
I getId()Returns the identifier of the element to be scheduled.- Returns:
- the identifier of the element to be scheduled.
-
getMetaData
M getMetaData()Returns the meta data of the element to be scheduled.- Returns:
- the meta data of the element to be scheduled.
-
execute
- Specified by:
executein interfaceorg.wildfly.clustering.server.dispatcher.Command<Void,CacheEntryScheduler<I, M>, RuntimeException>
-