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:
Command<Void,,CacheEntryScheduler<I, M>, RuntimeException> PrimaryOwnerCommand<I,M, Void>
- All Known Implementing Classes:
ScheduleWithMetaDataCommand,ScheduleWithTransientMetaDataCommand
Command that scheduled an entry.
- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptiondefault Voidexecute(CacheEntryScheduler<I, M> scheduler) Execute this command with the specified context.Returns the meta data of the element to be scheduled.Methods inherited from interface org.wildfly.clustering.server.infinispan.scheduler.PrimaryOwnerCommand
getId
-
Method Details
-
getMetaData
M getMetaData()Returns the meta data of the element to be scheduled.- Returns:
- the meta data of the element to be scheduled.
-
execute
Description copied from interface:CommandExecute this command with the specified context.- Specified by:
executein interfaceCommand<Void,CacheEntryScheduler<I, M>, RuntimeException> - Parameters:
scheduler- the execution context- Returns:
- the result of this command
-