Class ContainsCommand<I,M>

java.lang.Object
org.wildfly.clustering.server.infinispan.scheduler.AbstractPrimaryOwnerCommand<I,M,Boolean>
org.wildfly.clustering.server.infinispan.scheduler.ContainsCommand<I,M>
Type Parameters:
I - the scheduled entry identifier type
M - the scheduled entry metadata type
All Implemented Interfaces:
Command<Boolean,Scheduler<I,M>,RuntimeException>, PrimaryOwnerCommand<I,M,Boolean>

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

    • execute

      public Boolean 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