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
A
Service decorator.- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionDecoratedManager(Manager<I> manager) Creates a decorator of the specified manager. -
Method Summary
Modifier and TypeMethodDescriptionorg.wildfly.clustering.function.Supplier<org.wildfly.clustering.cache.batch.Batch> Returns a batcher for use by users of this manager.org.wildfly.clustering.function.Supplier<I> Returns a factory for creating identifiers for use by this manager.Methods inherited from class DecoratedService
isStarted, start, stop
-
Constructor Details
-
DecoratedManager
-
-
Method Details
-
getIdentifierFactory
Description copied from interface:ManagerConfigurationReturns a factory for creating identifiers for use by this manager.- Specified by:
getIdentifierFactoryin interfaceManagerConfiguration<I>- Returns:
- an identifier factory
-
getBatchFactory
public org.wildfly.clustering.function.Supplier<org.wildfly.clustering.cache.batch.Batch> getBatchFactory()Description copied from interface:ManagerReturns a batcher for use by users of this manager.- Specified by:
getBatchFactoryin interfaceManager<I>- Returns:
- a batcher
-