Class KeyPartitionerFactory
- java.lang.Object
-
- org.infinispan.factories.AbstractComponentFactory
-
- org.infinispan.factories.AbstractNamedCacheComponentFactory
-
- org.infinispan.distribution.ch.impl.KeyPartitionerFactory
-
- All Implemented Interfaces:
AutoInstantiableFactory
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
componentRegistry, configuration
-
Fields inherited from class org.infinispan.factories.AbstractComponentFactory
globalComponentRegistry, globalConfiguration
-
-
Constructor Summary
Constructors Constructor Description KeyPartitionerFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
construct(Class<T> componentType)
Constructs a component.-
Methods inherited from class org.infinispan.factories.AbstractComponentFactory
assertTypeConstructable
-
-
-
-
Method Detail
-
construct
public <T> T construct(Class<T> componentType)
Description copied from class:AbstractComponentFactory
Constructs a component.- Specified by:
construct
in classAbstractComponentFactory
- Parameters:
componentType
- type of component- Returns:
- a component
-
-