Class DecoratedManager<I>

java.lang.Object
org.wildfly.clustering.server.service.DecoratedService
org.wildfly.clustering.server.manager.DecoratedManager<I>
Type Parameters:
I - the identifer type
All Implemented Interfaces:
Manager<I>, ManagerConfiguration<I>, Service

public class DecoratedManager<I> extends DecoratedService implements Manager<I>
A Service decorator.
Author:
Paul Ferraro
  • Constructor Details

    • DecoratedManager

      public DecoratedManager(Manager<I> manager)
      Creates a decorator of the specified manager.
      Parameters:
      manager - the decorated manager
  • Method Details

    • getIdentifierFactory

      public org.wildfly.clustering.function.Supplier<I> getIdentifierFactory()
      Description copied from interface: ManagerConfiguration
      Returns a factory for creating identifiers for use by this manager.
      Specified by:
      getIdentifierFactory in interface ManagerConfiguration<I>
      Returns:
      an identifier factory
    • getBatchFactory

      public org.wildfly.clustering.function.Supplier<org.wildfly.clustering.cache.batch.Batch> getBatchFactory()
      Description copied from interface: Manager
      Returns a batcher for use by users of this manager.
      Specified by:
      getBatchFactory in interface Manager<I>
      Returns:
      a batcher