Package me.ahoo.cosid.segment
Class StringSegmentId
java.lang.Object
me.ahoo.cosid.StringIdGeneratorDecorator
me.ahoo.cosid.segment.StringSegmentId
- All Implemented Interfaces:
Decorator<IdGenerator>,IdGenerator,IdGeneratorDecorator,SegmentId,Statistical,StringIdGenerator
String SegmentId.
-
Field Summary
Fields inherited from class me.ahoo.cosid.StringIdGeneratorDecorator
actual, idConverter -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class me.ahoo.cosid.StringIdGeneratorDecorator
getActual, idConverterMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface me.ahoo.cosid.IdGenerator
generateAsString, idConverterMethods inherited from interface me.ahoo.cosid.IdGeneratorDecorator
generate
-
Constructor Details
-
StringSegmentId
-
-
Method Details
-
current
Description copied from interface:SegmentIdGet the current ID segment being used for generation.This method returns the segment from which IDs are currently being allocated. The segment contains the range of available IDs and tracks the current position within that range.
-
stat
Description copied from interface:SegmentIdGet statistical information about this Segment ID generator.This method provides detailed information about the generator's current state, including segment metadata and availability status.
- Specified by:
statin interfaceIdGenerator- Specified by:
statin interfaceIdGeneratorDecorator- Specified by:
statin interfaceSegmentId- Specified by:
statin interfaceStatistical- Returns:
- Statistical information about this Segment ID generator
-