Interface PrimaryOwnerSchedulerService.Configuration<K,V,SE,CE>
- Type Parameters:
K- the scheduled entry key typeV- the scheduled entry value typeSE- the schedule task entry typeCE- the cancel task entry type
- Enclosing class:
PrimaryOwnerSchedulerService<K,V>
public static interface PrimaryOwnerSchedulerService.Configuration<K,V,SE,CE>
Encapsulates configuration of a
PrimaryOwnerSchedulerService.- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptiondefault org.wildfly.clustering.function.Function<K, CacheContainerGroupMember> Returns the function returning the group member for which a given identifier has affinity.org.wildfly.clustering.cache.infinispan.embedded.EmbeddedCacheConfigurationReturns the configuration for the associated cache.Returns the task that cancels entries matching a given filter.default ClassLoaderReturns the class loader from which this scheduler will configure its command dispatcher.Returns the command dispatcher factory for this scheduler.default StringgetName()Returns the name of this scheduler.Returns the factory for creating a schedule command.Returns the delegated scheduler.Returns the task that schedule entries matching a given filter.
-
Method Details
-
getName
-
getScheduler
-
getCommandDispatcherFactory
CacheContainerCommandDispatcherFactory getCommandDispatcherFactory()Returns the command dispatcher factory for this scheduler.- Returns:
- the command dispatcher factory for this scheduler.
-
getScheduleCommandFactory
-
getAffinity
Returns the function returning the group member for which a given identifier has affinity.- Returns:
- the function returning the group member for which a given identifier has affinity.
-
getClassLoader
Returns the class loader from which this scheduler will configure its command dispatcher.- Returns:
- a class loader
-
getCacheConfiguration
org.wildfly.clustering.cache.infinispan.embedded.EmbeddedCacheConfiguration getCacheConfiguration()Returns the configuration for the associated cache.- Returns:
- the configuration for the associated cache.
-
getScheduleTask
-
getCancelTask
-