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 scheduled entry identifier type
M - the scheduled entry metadata type
All Implemented Interfaces:
Command<Void,Scheduler<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

    • getMetaData

      protected M getMetaData()
    • execute

      public Void execute(Scheduler<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