Interface PrimaryOwnerCommand<K,V,R>

Type Parameters:
K - the scheduled entry key type
V - the scheduled entry value type
R - the command return type
All Superinterfaces:
org.wildfly.clustering.server.dispatcher.Command<R, org.wildfly.clustering.server.scheduler.Scheduler<K,V>, RuntimeException>
All Known Implementing Classes:
AbstractPrimaryOwnerCommand, CancelCommand, ContainsCommand, ScheduleCommand, ScheduleExpirationCommand

public interface PrimaryOwnerCommand<K,V,R> extends org.wildfly.clustering.server.dispatcher.Command<R, org.wildfly.clustering.server.scheduler.Scheduler<K,V>, RuntimeException>
A command intended to be sent to the primary owner of a given cache entry.
Author:
Paul Ferraro
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the key of a scheduled item.

    Methods inherited from interface org.wildfly.clustering.server.dispatcher.Command

    execute
  • Method Details

    • getKey

      K getKey()
      Returns the key of a scheduled item.
      Returns:
      the key of a scheduled item.