Class Radix36CosIdGenerator

java.lang.Object
me.ahoo.cosid.cosid.RadixCosIdGenerator
me.ahoo.cosid.cosid.Radix36CosIdGenerator
All Implemented Interfaces:
CosIdGenerator, IdGenerator, Statistical, StringIdGenerator

public class Radix36CosIdGenerator extends RadixCosIdGenerator
[timestamp(44)]-[machineId-(20)]-[sequence-(16)] = 80 BITS = 17 CHARS.
  • Constructor Details

    • Radix36CosIdGenerator

      public Radix36CosIdGenerator(int machineId)
    • Radix36CosIdGenerator

      public Radix36CosIdGenerator(int timestampBit, int machineIdBit, int sequenceBit, int machineId, int sequenceResetThreshold)