Class KeyPartitionerFactory
- java.lang.Object
-
- org.infinispan.factories.AbstractComponentFactory
-
- org.infinispan.factories.AbstractNamedCacheComponentFactory
-
- org.infinispan.distribution.ch.impl.KeyPartitionerFactory
-
- All Implemented Interfaces:
AutoInstantiableFactory
,ComponentFactory
public class KeyPartitionerFactory extends AbstractNamedCacheComponentFactory implements AutoInstantiableFactory
Key partitioner factory that uses the hash function defined in the configuration. In the future, we will probably remove the hash function from the configuration and leave only the key partitioner.- Since:
- 8.2
- Author:
- Dan Berindei
-
-
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 KeyPartitionerFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
construct(String componentName)
-
Methods inherited from class org.infinispan.factories.AbstractComponentFactory
assertTypeConstructable, construct
-
-
-
-
Method Detail
-
construct
public Object construct(String componentName)
- Specified by:
construct
in interfaceComponentFactory
- Overrides:
construct
in classAbstractComponentFactory
- Returns:
- Either a component instance or a
ComponentAlias
pointing to another component.
-
-