Interface 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 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 Summary

    Modifier and Type
    Method
    Description
    default Void
     
    Returns the identifier of the element to be scheduled.
    Returns the meta data of the element to be scheduled.
  • 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

      default Void execute(CacheEntryScheduler<I,M> scheduler)
      Specified by:
      execute in interface org.wildfly.clustering.server.dispatcher.Command<Void,CacheEntryScheduler<I,M>,RuntimeException>