Class CancelCommand<K,V>

java.lang.Object
org.wildfly.clustering.server.infinispan.scheduler.AbstractPrimaryOwnerCommand<K,V,Void>
org.wildfly.clustering.server.infinispan.scheduler.CancelCommand<K,V>
Type Parameters:
K - the scheduled entry key type
V - the scheduled entry value type
All Implemented Interfaces:
org.wildfly.clustering.server.dispatcher.Command<Void, org.wildfly.clustering.server.scheduler.Scheduler<K,V>, RuntimeException>, PrimaryOwnerCommand<K,V,Void>

public class CancelCommand<K,V> extends AbstractPrimaryOwnerCommand<K,V,Void>
Command that cancels a previously scheduled entry.
Author:
Paul Ferraro
  • Constructor Details

    • CancelCommand

      public CancelCommand(K key)
      Creates a cancel command for a scheduled entry with the specified key
      Parameters:
      key - a scheduled entry key
  • Method Details

    • execute

      public Void execute(org.wildfly.clustering.server.scheduler.Scheduler<K,V> scheduler)