public static class IdSegmentDistributor.Atomic extends java.lang.Object implements IdSegmentDistributor
IdSegmentDistributor.Atomic, IdSegmentDistributor.MockDEFAULT_OFFSET, DEFAULT_SEGMENTS, DEFAULT_STEP| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName() |
java.lang.String |
getNamespace() |
long |
getStep() |
long |
nextMaxId(long step) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitensureStep, getNamespacedName, getNamespacedName, getStep, nextIdSegment, nextIdSegment, nextIdSegment, nextIdSegmentChain, nextIdSegmentChain, nextMaxIdpublic java.lang.String getNamespace()
getNamespace in interface IdSegmentDistributorpublic java.lang.String getName()
getName in interface IdSegmentDistributorpublic long getStep()
getStep in interface IdSegmentDistributorpublic long nextMaxId(long step)
nextMaxId in interface IdSegmentDistributor