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)
HashOrderMixingStrategy
newKeyMixer
in interface HashOrderMixingStrategy
public HashOrderMixingStrategy clone()
clone
in interface HashOrderMixingStrategy
clone
in class java.lang.Object
Copyright © 2015 Carrot Search s.c.. All Rights Reserved.