Package org.infinispan.factories
Class VersionGeneratorFactory
- java.lang.Object
-
- org.infinispan.factories.AbstractComponentFactory
-
- org.infinispan.factories.AbstractNamedCacheComponentFactory
-
- org.infinispan.factories.VersionGeneratorFactory
-
- All Implemented Interfaces:
AutoInstantiableFactory,ComponentFactory
public class VersionGeneratorFactory extends AbstractNamedCacheComponentFactory implements AutoInstantiableFactory
Version generator component factory. Version generators are used for situations where version or ids are needed, e.g. data versioning, transaction recovery, or hotrod/memcached support.- Since:
- 5.1
- Author:
- Manik Surtani, Galder ZamarreƱo
-
-
Field Summary
-
Fields inherited from class org.infinispan.factories.AbstractNamedCacheComponentFactory
basicComponentRegistry, componentRegistry, configuration
-
Fields inherited from class org.infinispan.factories.AbstractComponentFactory
globalComponentRegistry, globalConfiguration, log
-
-
Constructor Summary
Constructors Constructor Description VersionGeneratorFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectconstruct(String componentName)-
Methods inherited from class org.infinispan.factories.AbstractComponentFactory
assertTypeConstructable, construct
-
-
-
-
Method Detail
-
construct
public Object construct(String componentName)
- Specified by:
constructin interfaceComponentFactory- Overrides:
constructin classAbstractComponentFactory- Returns:
- Either a component instance or a
ComponentAliaspointing to another component.
-
-