public class RandomClockSequenceStrategy extends Object implements ClockSequenceStrategy
| Constructor and Description |
|---|
RandomClockSequenceStrategy() |
RandomClockSequenceStrategy(Random random) |
| Modifier and Type | Method and Description |
|---|---|
long |
getClockSequence(long timestamp,
long nodeIdentifier) |
protected Random random
public RandomClockSequenceStrategy()
public RandomClockSequenceStrategy(Random random)
public long getClockSequence(long timestamp,
long nodeIdentifier)
getClockSequence in interface ClockSequenceStrategyCopyright © 2019. All rights reserved.