Class DefaultIdSegment

java.lang.Object
me.ahoo.cosid.segment.DefaultIdSegment
All Implemented Interfaces:
Comparable<IdSegment>, Grouped, IdSegment

public class DefaultIdSegment extends Object implements IdSegment
Default Id Segment.
  • Field Details

  • Constructor Details

    • DefaultIdSegment

      public DefaultIdSegment(long maxId, long step)
    • DefaultIdSegment

      public DefaultIdSegment(long maxId, long step, long fetchTime, long ttl, GroupedKey group)
  • Method Details