Class EmbeddedCacheManagerCommandDispatcherFactory<A extends Comparable<A>, M extends org.wildfly.clustering.server.group.GroupMember<A>>

java.lang.Object
org.wildfly.clustering.server.infinispan.dispatcher.EmbeddedCacheManagerCommandDispatcherFactory<A,M>
Type Parameters:
A - the address type for group members
M - the group member type
All Implemented Interfaces:
org.wildfly.clustering.server.dispatcher.CommandDispatcherFactory<CacheContainerGroupMember>, org.wildfly.clustering.server.group.GroupCommandDispatcherFactory<org.infinispan.remoting.transport.Address, CacheContainerGroupMember>, CacheContainerCommandDispatcherFactory

public class EmbeddedCacheManagerCommandDispatcherFactory<A extends Comparable<A>, M extends org.wildfly.clustering.server.group.GroupMember<A>> extends Object implements CacheContainerCommandDispatcherFactory
A factory for creating a CommandDispatcher for dispatching commands to embedded cache manager group members.
Author:
Paul Ferraro
  • Constructor Details

    • EmbeddedCacheManagerCommandDispatcherFactory

      public EmbeddedCacheManagerCommandDispatcherFactory(EmbeddedCacheManagerCommandDispatcherFactoryConfiguration<A,M> configuration)
      Creates a command dispatcher factory using the specified configuration
      Parameters:
      configuration - the configuration of the command dispatcher factory
  • Method Details

    • getGroup

      public CacheContainerGroup getGroup()
      Specified by:
      getGroup in interface CacheContainerCommandDispatcherFactory
      Specified by:
      getGroup in interface org.wildfly.clustering.server.dispatcher.CommandDispatcherFactory<A extends Comparable<A>>
      Specified by:
      getGroup in interface org.wildfly.clustering.server.group.GroupCommandDispatcherFactory<A extends Comparable<A>, M extends org.wildfly.clustering.server.group.GroupMember<A>>
    • createCommandDispatcher

      public <C> org.wildfly.clustering.server.dispatcher.CommandDispatcher<CacheContainerGroupMember, C> createCommandDispatcher(Object id, C context, ClassLoader loader)
      Specified by:
      createCommandDispatcher in interface org.wildfly.clustering.server.dispatcher.CommandDispatcherFactory<A extends Comparable<A>>