Class ScheduleCommand<I,M>

java.lang.Object
org.wildfly.clustering.server.infinispan.scheduler.AbstractPrimaryOwnerCommand<I,M,Void>
org.wildfly.clustering.server.infinispan.scheduler.ScheduleCommand<I,M>
Type Parameters:
I - the identifier type of the entry to schedule
M - the meta data type of the entry to schedule
All Implemented Interfaces:
Command<Void,CacheEntryScheduler<I,M>,RuntimeException>, PrimaryOwnerCommand<I,M,Void>
Direct Known Subclasses:
ScheduleWithPersistentMetaDataCommand, ScheduleWithTransientMetaDataCommand

public class ScheduleCommand<I,M> extends AbstractPrimaryOwnerCommand<I,M,Void>
Command that scheduled an entry.
Author:
Paul Ferraro
  • Method Details

    • getPersistentMetaData

      protected M getPersistentMetaData()
    • execute

      public Void execute(CacheEntryScheduler<I,M> scheduler)
      Description copied from interface: Command
      Execute this command with the specified context.
      Parameters:
      scheduler - the execution context
      Returns:
      the result of this command