Class PrimaryOwnerSchedulerService<K,V>

java.lang.Object
org.wildfly.clustering.server.service.DecoratedService
org.wildfly.clustering.server.scheduler.DecoratedSchedulerService<K,V>
org.wildfly.clustering.server.infinispan.scheduler.PrimaryOwnerSchedulerService<K,V>
Type Parameters:
K - the scheduled entry key type
V - the scheduled entry value type
All Implemented Interfaces:
AutoCloseable, Scheduler<K,V>, SchedulerService<K,V>, Service

public class PrimaryOwnerSchedulerService<K,V> extends DecoratedSchedulerService<K,V>
Scheduler decorator that schedules/cancels a given object on the primary owner.
Author:
Paul Ferraro
  • Constructor Details

    • PrimaryOwnerSchedulerService

      public <SE,CE> PrimaryOwnerSchedulerService(PrimaryOwnerSchedulerService.Configuration<K,V,SE,CE> configuration)
      Creates a primary owner scheduler from the specified configuration.
      Type Parameters:
      SE - the schedule task entry type
      CE - the cancel task entry type
      Parameters:
      configuration - the configuration of a primary owner scheduler
  • Method Details