Class KeyPartitionerFactory
java.lang.Object
org.infinispan.factories.AnyScopeComponentFactory
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.AnyScopeComponentFactory
globalComponentRegistry, globalConfiguration, log
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
KeyPartitionerFactory
public KeyPartitionerFactory()
-
-
Method Details
-
construct
- Specified by:
construct
in interfaceComponentFactory
- Returns:
- Either a component instance or a
ComponentAlias
pointing to another component.
-