Class ContainsCommand<K,V>

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

public class ContainsCommand<K,V> extends AbstractPrimaryOwnerCommand<K,V,Boolean>
Command that determine if a given entry is known to the scheduler.
Author:
Paul Ferraro
  • Method Details

    • execute

      public Boolean execute(Scheduler<K,V> scheduler)
      Description copied from interface: Command
      Execute this command with the specified context.
      Parameters:
      scheduler - the execution context
      Returns:
      the result of this command