Class ScheduleWithTransientMetaDataCommand<I,M>

java.lang.Object
org.wildfly.clustering.server.infinispan.scheduler.ScheduleWithTransientMetaDataCommand<I,M>
All Implemented Interfaces:
org.wildfly.clustering.server.dispatcher.Command<Void,CacheEntryScheduler<I,M>,RuntimeException>, ScheduleCommand<I,M>

public class ScheduleWithTransientMetaDataCommand<I,M> extends Object implements ScheduleCommand<I,M>
Command that scheduled an item.
Author:
Paul Ferraro
  • Constructor Details

    • ScheduleWithTransientMetaDataCommand

      public ScheduleWithTransientMetaDataCommand(I id, M metaData)
  • Method Details

    • getId

      public I getId()
      Description copied from interface: ScheduleCommand
      Returns the identifier of the element to be scheduled.
      Specified by:
      getId in interface ScheduleCommand<I,M>
      Returns:
      the identifier of the element to be scheduled.
    • getMetaData

      public M getMetaData()
      Description copied from interface: ScheduleCommand
      Returns the meta data of the element to be scheduled.
      Specified by:
      getMetaData in interface ScheduleCommand<I,M>
      Returns:
      the meta data of the element to be scheduled.
    • toString

      public String toString()
      Overrides:
      toString in class Object