public final class RandomizedHashOrderMixer extends java.lang.Object implements HashOrderMixingStrategy
| Modifier and Type | Field and Description |
|---|---|
static RandomizedHashOrderMixer |
INSTANCE |
protected java.util.concurrent.atomic.AtomicLong |
seedMixer |
| Constructor and Description |
|---|
RandomizedHashOrderMixer() |
RandomizedHashOrderMixer(long seed) |
| Modifier and Type | Method and Description |
|---|---|
HashOrderMixingStrategy |
clone() |
int |
newKeyMixer(int newContainerBufferSize)
A new key mixer value.
|
public static final RandomizedHashOrderMixer INSTANCE
protected final java.util.concurrent.atomic.AtomicLong seedMixer
public RandomizedHashOrderMixer()
public RandomizedHashOrderMixer(long seed)
public int newKeyMixer(int newContainerBufferSize)
HashOrderMixingStrategynewKeyMixer in interface HashOrderMixingStrategypublic HashOrderMixingStrategy clone()
clone in interface HashOrderMixingStrategyclone in class java.lang.ObjectCopyright © 2015 Carrot Search s.c.. All Rights Reserved.