K - the key typepublic class AffinityIdentifierFactory<K> extends Object implements IdentifierFactory<K>, org.infinispan.affinity.KeyGenerator<K>
IdentifierFactory that uses a KeyAffinityService to generate identifiers.| Constructor and Description |
|---|
AffinityIdentifierFactory(IdentifierFactory<K> factory,
org.infinispan.Cache<K,?> cache,
KeyAffinityServiceFactory affinityFactory) |
public AffinityIdentifierFactory(IdentifierFactory<K> factory, org.infinispan.Cache<K,?> cache, KeyAffinityServiceFactory affinityFactory)
public K createIdentifier()
createIdentifier in interface IdentifierFactory<K>public void start()
start in interface IdentifierFactory<K>public void stop()
stop in interface IdentifierFactory<K>Copyright © 2015 JBoss by Red Hat. All rights reserved.