Class RndKeyGenerator

java.lang.Object
org.infinispan.affinity.impl.RndKeyGenerator
All Implemented Interfaces:
KeyGenerator<Object>

public class RndKeyGenerator extends Object implements KeyGenerator<Object>
Key provider that relies on Random's distribution to generate keys. It doesn't offer any guarantee that the keys are unique.
Since:
4.1
Author:
Mircea.Markus@jboss.com
  • Field Details

    • rnd

      public static final Random rnd
  • Constructor Details

    • RndKeyGenerator

      public RndKeyGenerator()
  • Method Details