Package org.infinispan.affinity
Interface KeyGenerator<K>
- All Known Implementing Classes:
RndKeyGenerator
public interface KeyGenerator<K>
Used for generating keys; used by
KeyAffinityService
to generate the affinity keys.
It offers the possibility to generate keys in a particular format.- Since:
- 4.1
- Author:
- Mircea.Markus@jboss.com
-
Method Summary
-
Method Details
-
getKey
K getKey()
-