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, configurationFields inherited from class org.infinispan.factories.AnyScopeComponentFactory
globalComponentRegistry, globalConfiguration, log -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.infinispan.factories.AnyScopeComponentFactory
construct
-
Constructor Details
-
KeyPartitionerFactory
public KeyPartitionerFactory()
-
-
Method Details
-
construct
- Specified by:
constructin interfaceComponentFactory- Overrides:
constructin classAnyScopeComponentFactory- Returns:
- Either a component instance or a
ComponentAliaspointing to another component.
-