Skip navigation links
A B C D E F G H I J L M N O P R S T U V W Z 

A

AbstractIdMetadata - Class in me.ahoo.cosid.accessor
Abstract IdMetadata.
AbstractIdMetadata(IdDefinition) - Constructor for class me.ahoo.cosid.accessor.AbstractIdMetadata
 
AbstractMachineIdDistributor - Class in me.ahoo.cosid.machine
Abstract MachineIdDistributor.
AbstractMachineIdDistributor(MachineStateStorage, ClockBackwardsSynchronizer) - Constructor for class me.ahoo.cosid.machine.AbstractMachineIdDistributor
 
AbstractSnowflakeId - Class in me.ahoo.cosid.snowflake
Abstract SnowflakeId.
AbstractSnowflakeId(long, int, int, int, long, long) - Constructor for class me.ahoo.cosid.snowflake.AbstractSnowflakeId
 
actual - Variable in class me.ahoo.cosid.IntegerIdGenerator
 
actual - Variable in class me.ahoo.cosid.StringIdGeneratorDecorator
 
actual - Variable in class me.ahoo.cosid.uncertainty.UncertaintyIdGenerator
 
add(int, E) - Method in class me.ahoo.cosid.sharding.ExactCollection
 
addAll(Collection<? extends E>) - Method in class me.ahoo.cosid.sharding.ExactCollection
 
affinity() - Method in interface me.ahoo.cosid.segment.concurrent.AffinityJob
 
AffinityJob - Interface in me.ahoo.cosid.segment.concurrent
Affinity Job.
AnnotationDefinitionParser - Class in me.ahoo.cosid.annotation
Annotation FieldDefinitionParser.
AnnotationDefinitionParser() - Constructor for class me.ahoo.cosid.annotation.AnnotationDefinitionParser
 
asFriendlyId(boolean) - Method in class me.ahoo.cosid.provider.LazyIdGenerator
 
asLong(String) - Method in class me.ahoo.cosid.converter.PrefixIdConverter
 
asLong(String) - Method in class me.ahoo.cosid.converter.RadixIdConverter
 
asLong(String) - Method in class me.ahoo.cosid.converter.SnowflakeFriendlyIdConverter
 
asLong(String) - Method in class me.ahoo.cosid.converter.SuffixIdConverter
 
asLong(String) - Method in class me.ahoo.cosid.converter.ToStringIdConverter
 
asLong(String) - Method in interface me.ahoo.cosid.IdConverter
convert String type ID to long.
asSegmentId(boolean) - Method in class me.ahoo.cosid.provider.LazyIdGenerator
 
asSnowflakeId(boolean) - Method in class me.ahoo.cosid.provider.LazyIdGenerator
 
asState(String) - Method in interface me.ahoo.cosid.cosid.CosIdIdStateParser
 
asState(String) - Method in class me.ahoo.cosid.cosid.RadixCosIdStateParser
 
asString(long) - Method in class me.ahoo.cosid.converter.PrefixIdConverter
 
asString(long) - Method in class me.ahoo.cosid.converter.RadixIdConverter
 
asString(long) - Method in class me.ahoo.cosid.converter.SnowflakeFriendlyIdConverter
 
asString(long) - Method in class me.ahoo.cosid.converter.SuffixIdConverter
 
asString(long) - Method in class me.ahoo.cosid.converter.ToStringIdConverter
 
asString(long, int, int) - Method in interface me.ahoo.cosid.cosid.CosIdIdStateParser
 
asString(CosIdState) - Method in interface me.ahoo.cosid.cosid.CosIdIdStateParser
 
asString(CosIdState) - Method in class me.ahoo.cosid.cosid.RadixCosIdStateParser
 
asString(long, int, int) - Method in class me.ahoo.cosid.cosid.RadixCosIdStateParser
 
asString(long) - Method in interface me.ahoo.cosid.IdConverter
convert long type ID to String.
Atomic() - Constructor for class me.ahoo.cosid.segment.IdSegmentDistributor.Atomic
 
Atomic(long) - Constructor for class me.ahoo.cosid.segment.IdSegmentDistributor.Atomic
 
AtomicLongGenerator - Class in me.ahoo.cosid.jvm
AtomicLong Generator.
AtomicLongGenerator() - Constructor for class me.ahoo.cosid.jvm.AtomicLongGenerator
 
availableType(Class<?>) - Static method in interface me.ahoo.cosid.accessor.CosIdAccessor
 

B

build() - Method in class me.ahoo.cosid.snowflake.SnowflakeIdState.SnowflakeIdStateBuilder
 
builder() - Static method in class me.ahoo.cosid.snowflake.SnowflakeIdState
 

C

CACHE - Static variable in interface me.ahoo.cosid.util.Clock
 
CacheClock() - Constructor for class me.ahoo.cosid.util.Clock.CacheClock
 
CachedSharding<T extends java.lang.Comparable<?>> - Class in me.ahoo.cosid.sharding
Cached Sharding.
CachedSharding(Sharding<T>) - Constructor for class me.ahoo.cosid.sharding.CachedSharding
 
cancel(AffinityJob) - Method in class me.ahoo.cosid.segment.concurrent.DefaultPrefetchWorker
 
cancel(AffinityJob) - Method in interface me.ahoo.cosid.segment.concurrent.PrefetchWorker
 
capitalize(String) - Static method in class me.ahoo.cosid.accessor.parser.DefaultAccessorParser
 
clear(String) - Method in class me.ahoo.cosid.machine.InMemoryMachineStateStorage
 
clear(String) - Method in class me.ahoo.cosid.machine.LocalMachineStateStorage
 
clear(String) - Method in interface me.ahoo.cosid.machine.MachineStateStorage
 
clear() - Method in class me.ahoo.cosid.provider.DefaultIdGeneratorProvider
 
clear() - Method in interface me.ahoo.cosid.provider.IdGeneratorProvider
clear all ID generator.
clear() - Method in class me.ahoo.cosid.sharding.ExactCollection
 
Clock - Interface in me.ahoo.cosid.util
System.currentTimeMillis() is too slow.
Clock.CacheClock - Class in me.ahoo.cosid.util
Fix the problem that System.currentTimeMillis() is too slow.
Clock.SystemClock - Class in me.ahoo.cosid.util
 
ClockBackwardsException - Exception in me.ahoo.cosid.snowflake.exception
Clock Backwards Exception.
ClockBackwardsException(long, long) - Constructor for exception me.ahoo.cosid.snowflake.exception.ClockBackwardsException
 
ClockBackwardsSynchronizer - Interface in me.ahoo.cosid.machine
Clock Backwards Synchronizer.
ClockSyncCosIdGenerator - Class in me.ahoo.cosid.cosid
 
ClockSyncCosIdGenerator(CosIdGenerator) - Constructor for class me.ahoo.cosid.cosid.ClockSyncCosIdGenerator
 
ClockSyncCosIdGenerator(CosIdGenerator, ClockBackwardsSynchronizer) - Constructor for class me.ahoo.cosid.cosid.ClockSyncCosIdGenerator
 
ClockSyncSnowflakeId - Class in me.ahoo.cosid.snowflake
Clock Sync SnowflakeId.
ClockSyncSnowflakeId(SnowflakeId) - Constructor for class me.ahoo.cosid.snowflake.ClockSyncSnowflakeId
 
ClockSyncSnowflakeId(SnowflakeId, ClockBackwardsSynchronizer) - Constructor for class me.ahoo.cosid.snowflake.ClockSyncSnowflakeId
 
ClockTooManyBackwardsException - Exception in me.ahoo.cosid.snowflake.exception
Clock Too Many Backwards Exception.
ClockTooManyBackwardsException(long, long, long) - Constructor for exception me.ahoo.cosid.snowflake.exception.ClockTooManyBackwardsException
 
compareTo(CosIdState) - Method in class me.ahoo.cosid.cosid.CosIdState
 
compareTo(IdSegment) - Method in interface me.ahoo.cosid.segment.IdSegment
 
compareTo(SnowflakeIdState) - Method in class me.ahoo.cosid.snowflake.SnowflakeIdState
 
contains(Object) - Method in class me.ahoo.cosid.sharding.ExactCollection
 
contains(LocalDateTime) - Method in class me.ahoo.cosid.sharding.IntervalTimeline
 
CosId - Annotation Type in me.ahoo.cosid.annotation
Define CosId.
CosId - Class in me.ahoo.cosid
CosId constant.
COSID - Static variable in class me.ahoo.cosid.CosId
 
COSID_EPOCH - Static variable in class me.ahoo.cosid.CosId
COSID_EPOCH:1577203200000 .
COSID_EPOCH_DATE - Static variable in class me.ahoo.cosid.CosId
UTC EPOCH DATE of CosId .
COSID_EPOCH_SECOND - Static variable in class me.ahoo.cosid.CosId
COSID_EPOCH_SECOND:15772032000 .
COSID_PREFIX - Static variable in class me.ahoo.cosid.CosId
 
CosIdAccessor - Interface in me.ahoo.cosid.accessor
CosId Accessor.
CosIdAccessor.NotFound - Class in me.ahoo.cosid.accessor
 
CosIdAccessorParser - Interface in me.ahoo.cosid.accessor.parser
CosIdAccessor Parser.
CosIdAccessorRegistry - Interface in me.ahoo.cosid.accessor.registry
CosIdAccessor Registry.
CosIdException - Exception in me.ahoo.cosid
CosId root Exception.
CosIdException() - Constructor for exception me.ahoo.cosid.CosIdException
 
CosIdException(String) - Constructor for exception me.ahoo.cosid.CosIdException
 
CosIdException(String, Throwable) - Constructor for exception me.ahoo.cosid.CosIdException
 
CosIdException(Throwable) - Constructor for exception me.ahoo.cosid.CosIdException
 
CosIdException(String, Throwable, boolean, boolean) - Constructor for exception me.ahoo.cosid.CosIdException
 
CosIdGenerator - Interface in me.ahoo.cosid.cosid
CosIdGenerator algorithm ID generator.
CosIdGetter - Interface in me.ahoo.cosid.accessor
CosId Getter.
CosIdIdStateParser - Interface in me.ahoo.cosid.cosid
 
CosIdScanner - Interface in me.ahoo.cosid.accessor.scanner
Scan the packages and register the qualified classes to CosIdAccessorRegistry.
CosIdSetter - Interface in me.ahoo.cosid.accessor
CosId Setter.
CosIdState - Class in me.ahoo.cosid.cosid
 
CosIdState(long, int, int) - Constructor for class me.ahoo.cosid.cosid.CosIdState
 
create(IdSegmentDistributorDefinition) - Method in interface me.ahoo.cosid.segment.IdSegmentDistributorFactory
 

D

DATE_TIME_FORMATTER - Static variable in class me.ahoo.cosid.snowflake.MillisecondSnowflakeIdStateParser
 
DATE_TIME_FORMATTER - Static variable in class me.ahoo.cosid.snowflake.SecondSnowflakeIdStateParser
 
DEFAULT - Static variable in class me.ahoo.cosid.cosid.RadixCosIdStateParser
 
DEFAULT - Static variable in interface me.ahoo.cosid.machine.ClockBackwardsSynchronizer
 
DEFAULT - Static variable in class me.ahoo.cosid.segment.concurrent.PrefetchWorkerExecutorService
 
DEFAULT_AMOUNT - Static variable in class me.ahoo.cosid.sharding.IntervalStep
 
DEFAULT_BROKEN_THRESHOLD - Static variable in class me.ahoo.cosid.machine.DefaultClockBackwardsSynchronizer
 
DEFAULT_DELAY - Static variable in class me.ahoo.cosid.machine.DefaultMachineIdGuarder
 
DEFAULT_FIELD - Static variable in annotation type me.ahoo.cosid.annotation.CosId
 
DEFAULT_INITIAL_DELAY - Static variable in class me.ahoo.cosid.machine.DefaultMachineIdGuarder
 
DEFAULT_MACHINE_BIT - Static variable in class me.ahoo.cosid.cosid.RadixCosIdGenerator
 
DEFAULT_MACHINE_BIT - Static variable in class me.ahoo.cosid.snowflake.MillisecondSnowflakeId
 
DEFAULT_MACHINE_BIT - Static variable in class me.ahoo.cosid.snowflake.SecondSnowflakeId
 
DEFAULT_OFFSET - Static variable in interface me.ahoo.cosid.segment.IdSegmentDistributor
 
DEFAULT_PREFETCH_PERIOD - Static variable in class me.ahoo.cosid.segment.concurrent.PrefetchWorkerExecutorService
 
DEFAULT_SAFE_DISTANCE - Static variable in class me.ahoo.cosid.segment.SegmentChainId
 
DEFAULT_SEGMENTS - Static variable in interface me.ahoo.cosid.segment.IdSegmentDistributor
 
DEFAULT_SEQUENCE_BIT - Static variable in class me.ahoo.cosid.cosid.RadixCosIdGenerator
 
DEFAULT_SEQUENCE_BIT - Static variable in class me.ahoo.cosid.snowflake.MillisecondSnowflakeId
 
DEFAULT_SEQUENCE_BIT - Static variable in class me.ahoo.cosid.snowflake.SecondSnowflakeId
 
DEFAULT_SEQUENCE_RESET_THRESHOLD - Static variable in class me.ahoo.cosid.cosid.RadixCosIdGenerator
 
DEFAULT_SEQUENCE_RESET_THRESHOLD - Static variable in class me.ahoo.cosid.snowflake.MillisecondSnowflakeId
 
DEFAULT_SEQUENCE_RESET_THRESHOLD - Static variable in class me.ahoo.cosid.snowflake.SecondSnowflakeId
 
DEFAULT_SPIN_THRESHOLD - Static variable in class me.ahoo.cosid.machine.DefaultClockBackwardsSynchronizer
 
DEFAULT_STATE_LOCATION_PATH - Static variable in class me.ahoo.cosid.machine.LocalMachineStateStorage
 
DEFAULT_STEP - Static variable in interface me.ahoo.cosid.segment.IdSegmentDistributor
 
DEFAULT_TIMESTAMP_BIT - Static variable in class me.ahoo.cosid.cosid.RadixCosIdGenerator
 
DEFAULT_TIMESTAMP_BIT - Static variable in class me.ahoo.cosid.snowflake.MillisecondSnowflakeId
 
DEFAULT_TIMESTAMP_BIT - Static variable in class me.ahoo.cosid.snowflake.SecondSnowflakeId
 
DefaultAccessorParser - Class in me.ahoo.cosid.accessor.parser
Default CosIdAccessorParser implementation.
DefaultAccessorParser(FieldDefinitionParser) - Constructor for class me.ahoo.cosid.accessor.parser.DefaultAccessorParser
 
DefaultAccessorRegistry - Class in me.ahoo.cosid.accessor.registry
Default CosIdAccessorRegistry implementation.
DefaultAccessorRegistry(CosIdAccessorParser) - Constructor for class me.ahoo.cosid.accessor.registry.DefaultAccessorRegistry
 
DefaultClockBackwardsSynchronizer - Class in me.ahoo.cosid.machine
Default Clock Backwards Synchronizer.
DefaultClockBackwardsSynchronizer() - Constructor for class me.ahoo.cosid.machine.DefaultClockBackwardsSynchronizer
 
DefaultClockBackwardsSynchronizer(int, int) - Constructor for class me.ahoo.cosid.machine.DefaultClockBackwardsSynchronizer
 
DefaultCosIdAccessor - Class in me.ahoo.cosid.accessor
Default CosIdAccessor implementation.
DefaultCosIdAccessor(IdDefinition, CosIdGetter, CosIdSetter) - Constructor for class me.ahoo.cosid.accessor.DefaultCosIdAccessor
 
DefaultCosIdAccessor.EnsureIntegerId - Class in me.ahoo.cosid.accessor
 
DefaultCosIdAccessor.EnsureLongId - Class in me.ahoo.cosid.accessor
 
DefaultCosIdAccessor.EnsureStringId - Class in me.ahoo.cosid.accessor
 
DefaultCosIdScanner - Class in me.ahoo.cosid.accessor.scanner
Default CosIdScanner implementation.
DefaultCosIdScanner(String[], FieldDefinitionParser, CosIdAccessorRegistry) - Constructor for class me.ahoo.cosid.accessor.scanner.DefaultCosIdScanner
 
DefaultCosIdScanner(String[], CosIdAccessorParser, CosIdAccessorRegistry) - Constructor for class me.ahoo.cosid.accessor.scanner.DefaultCosIdScanner
 
DefaultIdGeneratorProvider - Class in me.ahoo.cosid.provider
Default IdGeneratorProvider implementation.
DefaultIdGeneratorProvider() - Constructor for class me.ahoo.cosid.provider.DefaultIdGeneratorProvider
 
DefaultIdSegment - Class in me.ahoo.cosid.segment
Default Id Segment.
DefaultIdSegment(long, long) - Constructor for class me.ahoo.cosid.segment.DefaultIdSegment
 
DefaultIdSegment(long, long, long, long) - Constructor for class me.ahoo.cosid.segment.DefaultIdSegment
 
DefaultMachineIdGuarder - Class in me.ahoo.cosid.machine
Default MachineId Guarder implementation.
DefaultMachineIdGuarder(MachineIdDistributor, Duration) - Constructor for class me.ahoo.cosid.machine.DefaultMachineIdGuarder
 
DefaultMachineIdGuarder(MachineIdDistributor, ScheduledExecutorService, Duration, Duration, Duration) - Constructor for class me.ahoo.cosid.machine.DefaultMachineIdGuarder
 
DefaultPrefetchWorker - Class in me.ahoo.cosid.segment.concurrent
Default Prefetch Worker.
DefaultPrefetchWorker(Duration) - Constructor for class me.ahoo.cosid.segment.concurrent.DefaultPrefetchWorker
 
DefaultSegmentId - Class in me.ahoo.cosid.segment
Default segment algorithm ID generator.
DefaultSegmentId(IdSegmentDistributor) - Constructor for class me.ahoo.cosid.segment.DefaultSegmentId
 
DefaultSegmentId(long, IdSegmentDistributor) - Constructor for class me.ahoo.cosid.segment.DefaultSegmentId
 
defaultSequenceResetThreshold(int) - Static method in interface me.ahoo.cosid.snowflake.SnowflakeId
 
DefaultSnowflakeFriendlyId - Class in me.ahoo.cosid.snowflake
Default Snowflake FriendlyId.
DefaultSnowflakeFriendlyId(SnowflakeId) - Constructor for class me.ahoo.cosid.snowflake.DefaultSnowflakeFriendlyId
 
DefaultSnowflakeFriendlyId(SnowflakeId, ZoneId) - Constructor for class me.ahoo.cosid.snowflake.DefaultSnowflakeFriendlyId
 
DefaultSnowflakeFriendlyId(SnowflakeId, SnowflakeIdStateParser) - Constructor for class me.ahoo.cosid.snowflake.DefaultSnowflakeFriendlyId
 
DefaultSnowflakeFriendlyId(SnowflakeId, IdConverter, SnowflakeIdStateParser) - Constructor for class me.ahoo.cosid.snowflake.DefaultSnowflakeFriendlyId
 
definitionAsAccessor(IdDefinition) - Method in class me.ahoo.cosid.accessor.parser.DefaultAccessorParser
 
DELIMITER - Static variable in class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
 
distribute(String, int, InstanceId, Duration) - Method in class me.ahoo.cosid.machine.AbstractMachineIdDistributor
1.
distribute(String, int, InstanceId, Duration) - Method in interface me.ahoo.cosid.machine.MachineIdDistributor
distribute machine id.
distributeRemote(String, int, InstanceId, Duration) - Method in class me.ahoo.cosid.machine.AbstractMachineIdDistributor
 
distributeRemote(String, int, InstanceId, Duration) - Method in class me.ahoo.cosid.machine.k8s.StatefulSetMachineIdDistributor
 
distributeRemote(String, int, InstanceId, Duration) - Method in class me.ahoo.cosid.machine.ManualMachineIdDistributor
 

E

empty() - Static method in class me.ahoo.cosid.sharding.ExactCollection
 
ensureAccessible(AccessibleObject) - Static method in interface me.ahoo.cosid.accessor.CosIdAccessor
 
ensureId(Object) - Method in class me.ahoo.cosid.accessor.CosIdAccessor.NotFound
 
ensureId(Object) - Method in class me.ahoo.cosid.accessor.DefaultCosIdAccessor
 
ensureId(Object) - Method in class me.ahoo.cosid.accessor.DefaultCosIdAccessor.EnsureIntegerId
 
ensureId(Object) - Method in class me.ahoo.cosid.accessor.DefaultCosIdAccessor.EnsureLongId
 
ensureId(Object) - Method in class me.ahoo.cosid.accessor.DefaultCosIdAccessor.EnsureStringId
 
EnsureId - Interface in me.ahoo.cosid.accessor
Ensure that the target object has an ID set.
ensureId(Object) - Method in interface me.ahoo.cosid.accessor.EnsureId
Ensure that the target object has an ID set.
ensureId(Object) - Method in interface me.ahoo.cosid.accessor.registry.CosIdAccessorRegistry
 
EnsureIntegerId() - Constructor for class me.ahoo.cosid.accessor.DefaultCosIdAccessor.EnsureIntegerId
 
EnsureLongId() - Constructor for class me.ahoo.cosid.accessor.DefaultCosIdAccessor.EnsureLongId
 
ensureNextIdSegment(IdSegment) - Method in interface me.ahoo.cosid.segment.IdSegment
 
ensureSetNext(Function<IdSegmentChain, IdSegmentChain>) - Method in class me.ahoo.cosid.segment.IdSegmentChain
 
ensureStep(long) - Static method in interface me.ahoo.cosid.segment.IdSegmentDistributor
 
EnsureStringId() - Constructor for class me.ahoo.cosid.accessor.DefaultCosIdAccessor.EnsureStringId
 
epoch - Variable in class me.ahoo.cosid.snowflake.AbstractSnowflakeId
 
epoch - Variable in class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
 
equals(Object) - Method in class me.ahoo.cosid.cosid.CosIdState
 
equals(Object) - Method in class me.ahoo.cosid.machine.InstanceId
 
equals(Object) - Method in class me.ahoo.cosid.machine.MachineId
 
equals(Object) - Method in class me.ahoo.cosid.machine.MachineState
 
equals(Object) - Method in class me.ahoo.cosid.machine.NamespacedInstanceId
 
equals(Object) - Method in class me.ahoo.cosid.sharding.ExactCollection
 
equals(Object) - Method in class me.ahoo.cosid.snowflake.SnowflakeIdState
 
ExactCollection<E> - Class in me.ahoo.cosid.sharding
准确式集合.
ExactCollection(int) - Constructor for class me.ahoo.cosid.sharding.ExactCollection
 
ExactCollection(Object...) - Constructor for class me.ahoo.cosid.sharding.ExactCollection
 
Exceptions - Class in me.ahoo.cosid.util
Exception tool class.
Exceptions.CheckedFunction<T> - Interface in me.ahoo.cosid.util
Checked Exception Function.
executorService() - Static method in class me.ahoo.cosid.machine.DefaultMachineIdGuarder
 
exists(String, InstanceId) - Method in class me.ahoo.cosid.machine.InMemoryMachineStateStorage
 
exists(String, InstanceId) - Method in class me.ahoo.cosid.machine.LocalMachineStateStorage
 
exists(String, InstanceId) - Method in interface me.ahoo.cosid.machine.MachineStateStorage
 

F

FieldDefinitionParser - Interface in me.ahoo.cosid.accessor.parser
Field IdDefinition Parser.
FieldGetter - Class in me.ahoo.cosid.accessor.field
Field Getter.
FieldGetter(Field) - Constructor for class me.ahoo.cosid.accessor.field.FieldGetter
 
FieldSetter - Class in me.ahoo.cosid.accessor.field
Field Setter.
FieldSetter(Field) - Constructor for class me.ahoo.cosid.accessor.field.FieldSetter
 
floorUnit(LocalDateTime) - Method in class me.ahoo.cosid.sharding.IntervalStep
按照 IntervalStep.unit 保留单位时间精度.
FOREVER_SAFE_GUARD_DURATION - Static variable in interface me.ahoo.cosid.machine.MachineIdDistributor
 
friendlyId(long) - Method in interface me.ahoo.cosid.snowflake.SnowflakeFriendlyId
 
friendlyId() - Method in interface me.ahoo.cosid.snowflake.SnowflakeFriendlyId
 
friendlyId(String) - Method in class me.ahoo.cosid.snowflake.SnowflakeIdState.SnowflakeIdStateBuilder
 
fromDate(Date, ZoneId) - Static method in class me.ahoo.cosid.util.LocalDateTimeConvert
 
fromInstant(Instant, ZoneId) - Static method in class me.ahoo.cosid.util.LocalDateTimeConvert
 
fromString(String, DateTimeFormatter) - Static method in class me.ahoo.cosid.util.LocalDateTimeConvert
convert String to LocalDateTime.
fromTimestamp(long, ZoneId) - Static method in class me.ahoo.cosid.util.LocalDateTimeConvert
 
fromTimestampSecond(long, ZoneId) - Static method in class me.ahoo.cosid.util.LocalDateTimeConvert
 

G

gap(IdSegmentChain, long) - Method in class me.ahoo.cosid.segment.IdSegmentChain
 
generate() - Method in interface me.ahoo.cosid.cosid.CosIdGenerator
 
generate() - Method in interface me.ahoo.cosid.IdGenerator
Generate distributed ID.
generate() - Method in interface me.ahoo.cosid.IdGeneratorDecorator
 
generate() - Method in class me.ahoo.cosid.IntegerIdGenerator
Generate distributed ID of type int.
generate() - Method in class me.ahoo.cosid.jvm.AtomicLongGenerator
 
generate() - Method in class me.ahoo.cosid.jvm.UuidGenerator
 
generate() - Method in class me.ahoo.cosid.segment.DefaultSegmentId
 
generate() - Method in class me.ahoo.cosid.segment.SegmentChainId
 
generate() - Method in class me.ahoo.cosid.snowflake.AbstractSnowflakeId
 
generate() - Method in class me.ahoo.cosid.snowflake.ClockSyncSnowflakeId
 
generate() - Method in class me.ahoo.cosid.uncertainty.UncertaintyIdGenerator
 
generateAsState() - Method in class me.ahoo.cosid.cosid.ClockSyncCosIdGenerator
 
generateAsState() - Method in interface me.ahoo.cosid.cosid.CosIdGenerator
 
generateAsState() - Method in class me.ahoo.cosid.cosid.RadixCosIdGenerator
 
generateAsString() - Method in interface me.ahoo.cosid.cosid.CosIdGenerator
 
generateAsString() - Method in class me.ahoo.cosid.cosid.RadixCosIdGenerator
 
generateAsString() - Method in interface me.ahoo.cosid.IdGenerator
 
generateAsString() - Method in class me.ahoo.cosid.IntegerIdGenerator
Generate distributed ID of type string.
generateAsString() - Method in class me.ahoo.cosid.jvm.UuidGenerator
 
generateAsString() - Method in interface me.ahoo.cosid.StringIdGenerator
Generate string type distributed ID.
get(Class<?>) - Method in interface me.ahoo.cosid.accessor.registry.CosIdAccessorRegistry
 
get(Class<?>) - Method in class me.ahoo.cosid.accessor.registry.DefaultAccessorRegistry
 
get(String, InstanceId) - Method in class me.ahoo.cosid.machine.InMemoryMachineStateStorage
 
get(String, InstanceId) - Method in class me.ahoo.cosid.machine.LocalMachineStateStorage
 
get(String, InstanceId) - Method in interface me.ahoo.cosid.machine.MachineStateStorage
 
get(String) - Method in class me.ahoo.cosid.provider.DefaultIdGeneratorProvider
 
get(String) - Method in interface me.ahoo.cosid.provider.IdGeneratorProvider
Get ID generator by name.
get(int) - Method in class me.ahoo.cosid.sharding.ExactCollection
 
GET_PREFIX - Static variable in class me.ahoo.cosid.accessor.parser.DefaultAccessorParser
 
getActual() - Method in interface me.ahoo.cosid.IdGeneratorDecorator
Get decorator actual id generator.
getActual(IdGenerator) - Static method in interface me.ahoo.cosid.IdGeneratorDecorator
 
getActual() - Method in class me.ahoo.cosid.provider.LazyIdGenerator
 
getActual() - Method in class me.ahoo.cosid.snowflake.ClockSyncSnowflakeId
 
getActual() - Method in class me.ahoo.cosid.StringIdGeneratorDecorator
 
getActual() - Method in class me.ahoo.cosid.uncertainty.UncertaintyIdGenerator
 
getAll() - Method in class me.ahoo.cosid.provider.DefaultIdGeneratorProvider
 
getAll() - Method in interface me.ahoo.cosid.provider.IdGeneratorProvider
get all ID generator.
getAmount() - Method in class me.ahoo.cosid.sharding.IntervalStep
 
getBackwardsTimeStamp(long) - Static method in interface me.ahoo.cosid.machine.ClockBackwardsSynchronizer
 
getBrokenThreshold() - Method in exception me.ahoo.cosid.snowflake.exception.ClockTooManyBackwardsException
 
getCharSize() - Method in class me.ahoo.cosid.converter.RadixIdConverter
 
getCurrent() - Method in exception me.ahoo.cosid.segment.NextIdSegmentExpiredException
 
getCurrentProcessId() - Static method in enum me.ahoo.cosid.util.ProcessId
get current process id .
getCurrentProcessName() - Static method in enum me.ahoo.cosid.util.ProcessId
get current process name .
getCurrentTime() - Method in class me.ahoo.cosid.snowflake.AbstractSnowflakeId
get current timestamp.
getCurrentTime() - Method in class me.ahoo.cosid.snowflake.MillisecondSnowflakeId
 
getCurrentTime() - Method in class me.ahoo.cosid.snowflake.SecondSnowflakeId
 
getCurrentTimestamp() - Method in exception me.ahoo.cosid.snowflake.exception.ClockBackwardsException
 
getCurrentTimestamp() - Method in exception me.ahoo.cosid.snowflake.exception.ClockTooManyBackwardsException
 
getDateTimeFormatter() - Method in class me.ahoo.cosid.snowflake.MillisecondSnowflakeIdStateParser
 
getDateTimeFormatter() - Method in class me.ahoo.cosid.snowflake.SecondSnowflakeIdStateParser
 
getDateTimeFormatter() - Method in class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
 
getDeclaringClass() - Method in exception me.ahoo.cosid.accessor.MultipleIdNotSupportException
 
getDiffTime(LocalDateTime) - Method in class me.ahoo.cosid.snowflake.MillisecondSnowflakeIdStateParser
 
getDiffTime(LocalDateTime) - Method in class me.ahoo.cosid.snowflake.SecondSnowflakeIdStateParser
 
getDiffTime(LocalDateTime) - Method in class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
 
getDiffTimestamp() - Method in exception me.ahoo.cosid.snowflake.exception.TimestampOverflowException
 
getDivisor() - Method in class me.ahoo.cosid.sharding.ModCycle
 
getEffectiveNodes() - Method in class me.ahoo.cosid.sharding.CachedSharding
 
getEffectiveNodes() - Method in class me.ahoo.cosid.sharding.IntervalTimeline
 
getEffectiveNodes() - Method in class me.ahoo.cosid.sharding.ModCycle
 
getEffectiveNodes() - Method in interface me.ahoo.cosid.sharding.Sharding
 
getEpoch() - Method in class me.ahoo.cosid.snowflake.AbstractSnowflakeId
 
getEpoch() - Method in class me.ahoo.cosid.snowflake.ClockSyncSnowflakeId
 
getEpoch() - Method in exception me.ahoo.cosid.snowflake.exception.TimestampOverflowException
 
getEpoch() - Method in interface me.ahoo.cosid.snowflake.SnowflakeId
 
getEpoch() - Method in class me.ahoo.cosid.snowflake.StringSnowflakeId
 
getFetchTime() - Method in class me.ahoo.cosid.segment.DefaultIdSegment
 
getFetchTime() - Method in interface me.ahoo.cosid.segment.IdSegment
ID segment fetch time.
getFetchTime() - Method in class me.ahoo.cosid.segment.IdSegmentChain
 
getFetchTime() - Method in class me.ahoo.cosid.segment.MergedIdSegment
ID segment fetch time.
getFriendlyId() - Method in class me.ahoo.cosid.snowflake.SnowflakeIdState
 
getGeneratorName() - Method in class me.ahoo.cosid.accessor.IdDefinition
 
getGeneratorName() - Method in interface me.ahoo.cosid.accessor.IdMetadata
 
getGeneratorName() - Method in class me.ahoo.cosid.provider.LazyIdGenerator
 
getGeneratorName() - Method in exception me.ahoo.cosid.provider.NotFoundIdGeneratorException
 
getGetter() - Method in class me.ahoo.cosid.accessor.DefaultCosIdAccessor
 
getGetter() - Method in class me.ahoo.cosid.accessor.method.MethodGetter
 
getHead() - Method in class me.ahoo.cosid.segment.SegmentChainId
 
getId(Object) - Method in class me.ahoo.cosid.accessor.CosIdAccessor.NotFound
 
getId(Object) - Method in interface me.ahoo.cosid.accessor.CosIdGetter
 
getId(Object) - Method in class me.ahoo.cosid.accessor.DefaultCosIdAccessor
 
getId(Object) - Method in class me.ahoo.cosid.accessor.field.FieldGetter
 
getId(Object) - Method in class me.ahoo.cosid.accessor.method.MethodGetter
 
getId() - Method in exception me.ahoo.cosid.IntegerIdGenerator.IdOverflowException
 
getId() - Method in class me.ahoo.cosid.snowflake.SnowflakeIdState
 
getIdDeclaringClass() - Method in interface me.ahoo.cosid.accessor.IdMetadata
 
getIdDefinition() - Method in class me.ahoo.cosid.accessor.AbstractIdMetadata
 
getIdDefinition() - Method in class me.ahoo.cosid.accessor.CosIdAccessor.NotFound
 
getIdDefinition() - Method in interface me.ahoo.cosid.accessor.IdMetadata
 
getIdField() - Method in class me.ahoo.cosid.accessor.CosIdAccessor.NotFound
 
getIdField() - Method in class me.ahoo.cosid.accessor.IdDefinition
 
getIdField() - Method in interface me.ahoo.cosid.accessor.IdMetadata
 
getIdField() - Method in exception me.ahoo.cosid.accessor.IdTypeNotSupportException
 
getIdGenerator() - Method in class me.ahoo.cosid.accessor.AbstractIdMetadata
 
getIdGenerator() - Method in class me.ahoo.cosid.accessor.CosIdAccessor.NotFound
 
getIdGenerator() - Method in interface me.ahoo.cosid.accessor.IdMetadata
 
getIdSegment() - Method in class me.ahoo.cosid.segment.IdSegmentChain
 
getIdType() - Method in class me.ahoo.cosid.accessor.IdDefinition
 
getIdType() - Method in interface me.ahoo.cosid.accessor.IdMetadata
 
getInstanceId() - Method in class me.ahoo.cosid.machine.InstanceId
 
getInstanceId() - Method in exception me.ahoo.cosid.machine.MachineIdLostException
 
getInstanceId() - Method in exception me.ahoo.cosid.machine.MachineIdOverflowException
 
getInstanceId() - Method in class me.ahoo.cosid.machine.NamespacedInstanceId
 
getInstanceId() - Method in exception me.ahoo.cosid.machine.NotFoundMachineStateException
 
getJobId() - Method in interface me.ahoo.cosid.segment.concurrent.AffinityJob
 
getJobId() - Method in class me.ahoo.cosid.segment.SegmentChainId.PrefetchJob
 
getLastTimestamp() - Method in class me.ahoo.cosid.cosid.ClockSyncCosIdGenerator
 
getLastTimestamp() - Method in interface me.ahoo.cosid.cosid.CosIdGenerator
 
getLastTimestamp() - Method in class me.ahoo.cosid.cosid.RadixCosIdGenerator
 
getLastTimeStamp() - Method in class me.ahoo.cosid.machine.MachineState
 
getLastTimestamp() - Method in class me.ahoo.cosid.snowflake.AbstractSnowflakeId
 
getLastTimestamp() - Method in class me.ahoo.cosid.snowflake.ClockSyncSnowflakeId
 
getLastTimestamp() - Method in exception me.ahoo.cosid.snowflake.exception.ClockBackwardsException
 
getLastTimestamp() - Method in exception me.ahoo.cosid.snowflake.exception.ClockTooManyBackwardsException
 
getLastTimestamp() - Method in interface me.ahoo.cosid.snowflake.SnowflakeId
 
getLastTimestamp() - Method in class me.ahoo.cosid.snowflake.StringSnowflakeId
 
getLower() - Method in class me.ahoo.cosid.sharding.IntervalTimeline.Interval
 
getMachineBit() - Method in class me.ahoo.cosid.snowflake.AbstractSnowflakeId
 
getMachineBit() - Method in class me.ahoo.cosid.snowflake.ClockSyncSnowflakeId
 
getMachineBit() - Method in interface me.ahoo.cosid.snowflake.SnowflakeId
 
getMachineBit() - Method in class me.ahoo.cosid.snowflake.StringSnowflakeId
 
getMachineId() - Method in class me.ahoo.cosid.cosid.ClockSyncCosIdGenerator
 
getMachineId() - Method in interface me.ahoo.cosid.cosid.CosIdGenerator
 
getMachineId() - Method in class me.ahoo.cosid.cosid.CosIdState
 
getMachineId() - Method in class me.ahoo.cosid.cosid.RadixCosIdGenerator
 
getMachineId() - Method in class me.ahoo.cosid.machine.MachineId
 
getMachineId() - Method in class me.ahoo.cosid.machine.MachineState
 
getMachineId() - Method in class me.ahoo.cosid.machine.ManualMachineIdDistributor
 
getMachineId() - Method in class me.ahoo.cosid.snowflake.AbstractSnowflakeId
 
getMachineId() - Method in class me.ahoo.cosid.snowflake.ClockSyncSnowflakeId
 
getMachineId() - Method in interface me.ahoo.cosid.snowflake.SnowflakeId
 
getMachineId() - Method in class me.ahoo.cosid.snowflake.SnowflakeIdState
 
getMachineId() - Method in class me.ahoo.cosid.snowflake.StringSnowflakeId
 
getMachineState() - Method in exception me.ahoo.cosid.machine.MachineIdLostException
 
getMaxId() - Method in class me.ahoo.cosid.segment.DefaultIdSegment
 
getMaxId() - Method in interface me.ahoo.cosid.segment.IdSegment
 
getMaxId() - Method in class me.ahoo.cosid.segment.IdSegmentChain
 
getMaxId() - Method in class me.ahoo.cosid.segment.MergedIdSegment
 
getMaxMachine() - Method in class me.ahoo.cosid.snowflake.AbstractSnowflakeId
 
getMaxMachine() - Method in class me.ahoo.cosid.snowflake.ClockSyncSnowflakeId
 
getMaxMachine() - Method in interface me.ahoo.cosid.snowflake.SnowflakeId
 
getMaxMachine() - Method in class me.ahoo.cosid.snowflake.StringSnowflakeId
 
getMaxSequence() - Method in class me.ahoo.cosid.snowflake.AbstractSnowflakeId
 
getMaxSequence() - Method in class me.ahoo.cosid.snowflake.ClockSyncSnowflakeId
 
getMaxSequence() - Method in interface me.ahoo.cosid.snowflake.SnowflakeId
 
getMaxSequence() - Method in class me.ahoo.cosid.snowflake.StringSnowflakeId
 
getMaxTimestamp() - Method in class me.ahoo.cosid.snowflake.AbstractSnowflakeId
 
getMaxTimestamp() - Method in class me.ahoo.cosid.snowflake.ClockSyncSnowflakeId
 
getMaxTimestamp() - Method in exception me.ahoo.cosid.snowflake.exception.TimestampOverflowException
 
getMaxTimestamp() - Method in interface me.ahoo.cosid.snowflake.SnowflakeId
 
getMaxTimestamp() - Method in class me.ahoo.cosid.snowflake.StringSnowflakeId
 
getName() - Method in interface me.ahoo.cosid.segment.concurrent.PrefetchWorker
 
getName() - Method in class me.ahoo.cosid.segment.IdSegmentDistributor.Atomic
 
getName() - Method in interface me.ahoo.cosid.segment.IdSegmentDistributor
 
getName() - Method in class me.ahoo.cosid.segment.IdSegmentDistributor.Mock
 
getName() - Method in class me.ahoo.cosid.segment.IdSegmentDistributorDefinition
 
getNamespace() - Method in exception me.ahoo.cosid.machine.MachineIdLostException
 
getNamespace() - Method in class me.ahoo.cosid.machine.NamespacedInstanceId
 
getNamespace() - Method in exception me.ahoo.cosid.machine.NotFoundMachineStateException
 
getNamespace() - Method in class me.ahoo.cosid.segment.IdSegmentDistributor.Atomic
 
getNamespace() - Method in interface me.ahoo.cosid.segment.IdSegmentDistributor
 
getNamespace() - Method in class me.ahoo.cosid.segment.IdSegmentDistributor.Mock
 
getNamespace() - Method in class me.ahoo.cosid.segment.IdSegmentDistributorDefinition
 
getNamespacedName() - Method in interface me.ahoo.cosid.segment.IdSegmentDistributor
 
getNamespacedName(String, String) - Static method in interface me.ahoo.cosid.segment.IdSegmentDistributor
 
getNamespacedName() - Method in class me.ahoo.cosid.segment.IdSegmentDistributorDefinition
 
getNext() - Method in class me.ahoo.cosid.segment.IdSegmentChain
 
getNext() - Method in exception me.ahoo.cosid.segment.NextIdSegmentExpiredException
 
getNode() - Method in class me.ahoo.cosid.sharding.IntervalTimeline.Interval
 
getOffset() - Method in class me.ahoo.cosid.segment.DefaultIdSegment
 
getOffset() - Method in interface me.ahoo.cosid.segment.IdSegment
 
getOffset() - Method in class me.ahoo.cosid.segment.IdSegmentChain
 
getOffset() - Method in class me.ahoo.cosid.segment.IdSegmentDistributorDefinition
 
getOffset() - Method in class me.ahoo.cosid.segment.MergedIdSegment
 
getParser() - Method in class me.ahoo.cosid.converter.SnowflakeFriendlyIdConverter
 
getParser() - Method in class me.ahoo.cosid.snowflake.DefaultSnowflakeFriendlyId
 
getParser() - Method in interface me.ahoo.cosid.snowflake.SnowflakeFriendlyId
 
getPrefetchWorker() - Method in interface me.ahoo.cosid.segment.concurrent.AffinityJob
 
getPrefetchWorker() - Method in class me.ahoo.cosid.segment.SegmentChainId.PrefetchJob
 
getPrefix() - Method in class me.ahoo.cosid.converter.PrefixIdConverter
 
getProcessId() - Method in enum me.ahoo.cosid.util.ProcessId
 
getRegisteredInstanceIds() - Method in class me.ahoo.cosid.machine.DefaultMachineIdGuarder
 
getRequired(String) - Method in interface me.ahoo.cosid.provider.IdGeneratorProvider
 
getSafeGuardAt(Duration, boolean) - Static method in interface me.ahoo.cosid.machine.MachineIdDistributor
 
getSegments() - Method in class me.ahoo.cosid.segment.MergedIdSegment
 
getSequence() - Method in class me.ahoo.cosid.cosid.CosIdState
 
getSequence() - Method in class me.ahoo.cosid.segment.DefaultIdSegment
 
getSequence() - Method in interface me.ahoo.cosid.segment.IdSegment
 
getSequence() - Method in class me.ahoo.cosid.segment.IdSegmentChain
 
getSequence() - Method in class me.ahoo.cosid.segment.MergedIdSegment
 
getSequence() - Method in class me.ahoo.cosid.snowflake.SnowflakeIdState
 
getSequenceBit() - Method in class me.ahoo.cosid.snowflake.AbstractSnowflakeId
 
getSequenceBit() - Method in class me.ahoo.cosid.snowflake.ClockSyncSnowflakeId
 
getSequenceBit() - Method in interface me.ahoo.cosid.snowflake.SnowflakeId
 
getSequenceBit() - Method in class me.ahoo.cosid.snowflake.StringSnowflakeId
 
getSetter() - Method in class me.ahoo.cosid.accessor.DefaultCosIdAccessor
 
getSetter() - Method in class me.ahoo.cosid.accessor.method.MethodSetter
 
getShare() - Method in class me.ahoo.cosid.provider.DefaultIdGeneratorProvider
 
getShare() - Method in interface me.ahoo.cosid.provider.IdGeneratorProvider
Get shared ID generator.
getSingleStep() - Method in class me.ahoo.cosid.segment.MergedIdSegment
 
getStartInterval() - Method in class me.ahoo.cosid.sharding.IntervalTimeline
 
getStateParser() - Method in class me.ahoo.cosid.cosid.ClockSyncCosIdGenerator
 
getStateParser() - Method in interface me.ahoo.cosid.cosid.CosIdGenerator
 
getStateParser() - Method in class me.ahoo.cosid.cosid.RadixCosIdGenerator
 
getStep() - Method in class me.ahoo.cosid.segment.DefaultIdSegment
 
getStep() - Method in interface me.ahoo.cosid.segment.IdSegment
 
getStep() - Method in class me.ahoo.cosid.segment.IdSegmentChain
 
getStep() - Method in class me.ahoo.cosid.segment.IdSegmentDistributor.Atomic
 
getStep() - Method in interface me.ahoo.cosid.segment.IdSegmentDistributor
 
getStep(int) - Method in interface me.ahoo.cosid.segment.IdSegmentDistributor
 
getStep() - Method in class me.ahoo.cosid.segment.IdSegmentDistributor.Mock
 
getStep() - Method in class me.ahoo.cosid.segment.IdSegmentDistributorDefinition
 
getStep() - Method in class me.ahoo.cosid.segment.MergedIdSegment
 
getSuffix() - Method in class me.ahoo.cosid.converter.SuffixIdConverter
 
getSystemSecondTime() - Static method in interface me.ahoo.cosid.util.Clock
 
getTimestamp() - Method in class me.ahoo.cosid.cosid.CosIdState
 
getTimestamp(long) - Method in class me.ahoo.cosid.snowflake.MillisecondSnowflakeIdStateParser
 
getTimestamp(long) - Method in class me.ahoo.cosid.snowflake.SecondSnowflakeIdStateParser
 
getTimestamp() - Method in class me.ahoo.cosid.snowflake.SnowflakeIdState
 
getTimestamp(long) - Method in class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
 
getTimestampBit() - Method in class me.ahoo.cosid.snowflake.AbstractSnowflakeId
 
getTimestampBit() - Method in class me.ahoo.cosid.snowflake.ClockSyncSnowflakeId
 
getTimestampBit() - Method in interface me.ahoo.cosid.snowflake.SnowflakeId
 
getTimestampBit() - Method in class me.ahoo.cosid.snowflake.StringSnowflakeId
 
getTotalMachineIds() - Method in exception me.ahoo.cosid.machine.MachineIdOverflowException
 
getTtl() - Method in class me.ahoo.cosid.segment.DefaultIdSegment
 
getTtl() - Method in interface me.ahoo.cosid.segment.IdSegment
the id segment time to live.
getTtl() - Method in class me.ahoo.cosid.segment.MergedIdSegment
 
getUnit() - Method in class me.ahoo.cosid.sharding.IntervalStep
 
getVersion() - Method in class me.ahoo.cosid.segment.IdSegmentChain
 
getZoneId() - Method in class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
 
GracefullyCloser() - Constructor for class me.ahoo.cosid.segment.concurrent.PrefetchWorkerExecutorService.GracefullyCloser
 
guard(String, InstanceId, Duration) - Method in class me.ahoo.cosid.machine.AbstractMachineIdDistributor
 
guard(String, InstanceId, Duration) - Method in interface me.ahoo.cosid.machine.MachineIdDistributor
Guard the machine id by heartbeat.
guardRemote(String, InstanceId, MachineState, Duration) - Method in class me.ahoo.cosid.machine.AbstractMachineIdDistributor
 
guardRemote(String, InstanceId, MachineState, Duration) - Method in class me.ahoo.cosid.machine.k8s.StatefulSetMachineIdDistributor
 
guardRemote(String, InstanceId, MachineState, Duration) - Method in class me.ahoo.cosid.machine.ManualMachineIdDistributor
 

H

hashCode() - Method in class me.ahoo.cosid.cosid.CosIdState
 
hashCode() - Method in class me.ahoo.cosid.machine.InstanceId
 
hashCode() - Method in class me.ahoo.cosid.machine.MachineId
 
hashCode() - Method in class me.ahoo.cosid.machine.MachineState
 
hashCode() - Method in class me.ahoo.cosid.machine.NamespacedInstanceId
 
hashCode() - Method in class me.ahoo.cosid.sharding.ExactCollection
 
hashCode() - Method in class me.ahoo.cosid.snowflake.SnowflakeIdState
 
HOSTNAME_KEY - Static variable in class me.ahoo.cosid.machine.k8s.StatefulSetMachineIdDistributor
 
hungry() - Method in interface me.ahoo.cosid.segment.concurrent.AffinityJob
 

I

id(long) - Method in class me.ahoo.cosid.snowflake.SnowflakeIdState.SnowflakeIdStateBuilder
 
idConverter() - Method in interface me.ahoo.cosid.cosid.CosIdGenerator
 
IdConverter - Interface in me.ahoo.cosid
ID converter.
idConverter() - Method in interface me.ahoo.cosid.IdGenerator
ID converter, used to convert long type ID to String.
idConverter() - Method in class me.ahoo.cosid.provider.LazyIdGenerator
 
idConverter - Variable in class me.ahoo.cosid.StringIdGeneratorDecorator
 
idConverter() - Method in class me.ahoo.cosid.StringIdGeneratorDecorator
 
IdDefinition - Class in me.ahoo.cosid.accessor
ID Definition.
IdDefinition(Field) - Constructor for class me.ahoo.cosid.accessor.IdDefinition
 
IdDefinition(String, Field) - Constructor for class me.ahoo.cosid.accessor.IdDefinition
 
IdDefinition(String, Field, Class<?>) - Constructor for class me.ahoo.cosid.accessor.IdDefinition
 
IdGenerator - Interface in me.ahoo.cosid
Id Generator.
IdGeneratorDecorator - Interface in me.ahoo.cosid
IdGenerator decorator.
IdGeneratorProvider - Interface in me.ahoo.cosid.provider
IdGenerator container.
IdMetadata - Interface in me.ahoo.cosid.accessor
Id Metadata.
IdOverflowException(long) - Constructor for exception me.ahoo.cosid.IntegerIdGenerator.IdOverflowException
 
IdSegment - Interface in me.ahoo.cosid.segment
Id Segment.
IdSegmentChain - Class in me.ahoo.cosid.segment
Chained ID segment.
IdSegmentChain(IdSegmentChain, IdSegment) - Constructor for class me.ahoo.cosid.segment.IdSegmentChain
 
IdSegmentChain(long, IdSegment) - Constructor for class me.ahoo.cosid.segment.IdSegmentChain
 
IdSegmentDistributor - Interface in me.ahoo.cosid.segment
Id Segment Distributor.
IdSegmentDistributor.Atomic - Class in me.ahoo.cosid.segment
 
IdSegmentDistributor.Mock - Class in me.ahoo.cosid.segment
 
IdSegmentDistributorDefinition - Class in me.ahoo.cosid.segment
IdSegment Distributor Definition.
IdSegmentDistributorDefinition(String, String, long, long) - Constructor for class me.ahoo.cosid.segment.IdSegmentDistributorDefinition
 
IdSegmentDistributorFactory - Interface in me.ahoo.cosid.segment
IdTypeNotSupportException - Exception in me.ahoo.cosid.accessor
ID Type Not Support Exception.
IdTypeNotSupportException(Field) - Constructor for exception me.ahoo.cosid.accessor.IdTypeNotSupportException
 
IN_MEMORY - Static variable in interface me.ahoo.cosid.machine.MachineStateStorage
 
incrementAndGet() - Method in class me.ahoo.cosid.segment.DefaultIdSegment
 
incrementAndGet() - Method in interface me.ahoo.cosid.segment.IdSegment
 
incrementAndGet() - Method in class me.ahoo.cosid.segment.IdSegmentChain
 
incrementAndGet() - Method in class me.ahoo.cosid.segment.MergedIdSegment
 
indexOf(Object) - Method in class me.ahoo.cosid.sharding.ExactCollection
 
InMemoryMachineStateStorage - Class in me.ahoo.cosid.machine
 
InMemoryMachineStateStorage() - Constructor for class me.ahoo.cosid.machine.InMemoryMachineStateStorage
 
INSTANCE - Static variable in class me.ahoo.cosid.annotation.AnnotationDefinitionParser
 
INSTANCE - Static variable in class me.ahoo.cosid.converter.Radix36IdConverter
 
INSTANCE - Static variable in class me.ahoo.cosid.converter.Radix62IdConverter
 
INSTANCE - Static variable in class me.ahoo.cosid.converter.SnowflakeFriendlyIdConverter
 
INSTANCE - Static variable in class me.ahoo.cosid.converter.ToStringIdConverter
 
INSTANCE - Static variable in class me.ahoo.cosid.jvm.AtomicLongGenerator
 
INSTANCE - Static variable in class me.ahoo.cosid.jvm.UuidGenerator
 
INSTANCE - Static variable in class me.ahoo.cosid.machine.k8s.StatefulSetMachineIdDistributor
 
INSTANCE - Static variable in class me.ahoo.cosid.provider.DefaultIdGeneratorProvider
 
INSTANCE - Static variable in class me.ahoo.cosid.snowflake.MillisecondSnowflakeIdStateParser
 
InstanceId - Class in me.ahoo.cosid.machine
InstanceId.
InstanceId(String, boolean) - Constructor for class me.ahoo.cosid.machine.InstanceId
 
IntegerIdGenerator - Class in me.ahoo.cosid
Integer Id Generator.
IntegerIdGenerator(IdGenerator) - Constructor for class me.ahoo.cosid.IntegerIdGenerator
 
IntegerIdGenerator.IdOverflowException - Exception in me.ahoo.cosid
ID Overflow Exception.
Interval(LocalDateTime, String) - Constructor for class me.ahoo.cosid.sharding.IntervalTimeline.Interval
 
IntervalStep - Class in me.ahoo.cosid.sharding
Interval Step.
IntervalStep(ChronoUnit, int) - Constructor for class me.ahoo.cosid.sharding.IntervalStep
 
IntervalTimeline - Class in me.ahoo.cosid.sharding
Interval Timeline.
IntervalTimeline(String, Range<LocalDateTime>, IntervalStep, DateTimeFormatter) - Constructor for class me.ahoo.cosid.sharding.IntervalTimeline
 
IntervalTimeline.Interval - Class in me.ahoo.cosid.sharding
 
invoke() - Method in interface me.ahoo.cosid.util.Exceptions.CheckedFunction
 
invokeUnchecked(Exceptions.CheckedFunction<T>) - Static method in class me.ahoo.cosid.util.Exceptions
invoke Checked Exception Function as Unchecked.
isAvailable() - Method in interface me.ahoo.cosid.segment.IdSegment
not expired and not overflow.
isExpired() - Method in interface me.ahoo.cosid.segment.IdSegment
id segment has expired?.
isOverflow() - Method in interface me.ahoo.cosid.segment.IdSegment
 
isOverflow(long) - Method in interface me.ahoo.cosid.segment.IdSegment
 
isRunning() - Method in class me.ahoo.cosid.machine.DefaultMachineIdGuarder
 
isRunning() - Method in interface me.ahoo.cosid.machine.MachineIdGuarder
 
isRunning() - Method in class me.ahoo.cosid.machine.MachineIdGuarder.None
 
isSafeJavascript() - Method in class me.ahoo.cosid.snowflake.ClockSyncSnowflakeId
 
isSafeJavaScript(long) - Static method in class me.ahoo.cosid.snowflake.SafeJavaScriptSnowflakeId
 
isSafeJavascript() - Method in interface me.ahoo.cosid.snowflake.SnowflakeId
是否是 Javascript 安全的 SnowflakeId.
isStable() - Method in class me.ahoo.cosid.machine.InstanceId
稳定的的实例拥有稳定的机器号.
iterator() - Method in class me.ahoo.cosid.sharding.ExactCollection
 

J

JAVA_SCRIPT_MAX_SAFE_NUMBER - Static variable in class me.ahoo.cosid.snowflake.SafeJavaScriptSnowflakeId
 
JAVA_SCRIPT_MAX_SAFE_NUMBER_BIT - Static variable in class me.ahoo.cosid.snowflake.SafeJavaScriptSnowflakeId
 

L

lastTimestamp - Variable in class me.ahoo.cosid.snowflake.AbstractSnowflakeId
 
LazyIdGenerator - Class in me.ahoo.cosid.provider
Lazy loading IdGenerator.
LazyIdGenerator(String) - Constructor for class me.ahoo.cosid.provider.LazyIdGenerator
 
LazyIdGenerator(String, IdGeneratorProvider) - Constructor for class me.ahoo.cosid.provider.LazyIdGenerator
 
LOCAL - Static variable in interface me.ahoo.cosid.machine.MachineStateStorage
 
LocalDateTimeConvert - Class in me.ahoo.cosid.util
type Convert tool class of LocalDateTime.
LocalMachineStateStorage - Class in me.ahoo.cosid.machine
LocalMachine State Storage.
LocalMachineStateStorage(String) - Constructor for class me.ahoo.cosid.machine.LocalMachineStateStorage
 
LocalMachineStateStorage() - Constructor for class me.ahoo.cosid.machine.LocalMachineStateStorage
 

M

machineBit - Variable in class me.ahoo.cosid.snowflake.AbstractSnowflakeId
 
machineBit - Variable in class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
 
MachineId - Class in me.ahoo.cosid.machine
逻辑概念的机器号,并不一定跟物理机/虚拟机一一对应,运行进程的唯一性编号(不同业务领域/服务使用 namespace 隔离).
MachineId(long) - Constructor for class me.ahoo.cosid.machine.MachineId
 
machineId - Variable in class me.ahoo.cosid.snowflake.AbstractSnowflakeId
 
machineId(long) - Method in class me.ahoo.cosid.snowflake.SnowflakeIdState.SnowflakeIdStateBuilder
 
MachineIdDistributor - Interface in me.ahoo.cosid.machine
MachineId Distributor.
MachineIdGuarder - Interface in me.ahoo.cosid.machine
MachineId Guarder .
MachineIdGuarder.None - Class in me.ahoo.cosid.machine
 
MachineIdLostException - Exception in me.ahoo.cosid.machine
MachineId Lost Exception .
MachineIdLostException(String, InstanceId, MachineState) - Constructor for exception me.ahoo.cosid.machine.MachineIdLostException
 
MachineIdOverflowException - Exception in me.ahoo.cosid.machine
MachineId Overflow Exception.
MachineIdOverflowException(int, InstanceId) - Constructor for exception me.ahoo.cosid.machine.MachineIdOverflowException
 
machineLeft - Variable in class me.ahoo.cosid.snowflake.AbstractSnowflakeId
 
machineLeft - Variable in class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
 
machineMask - Variable in class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
 
MachineState - Class in me.ahoo.cosid.machine
Machine State.
MachineState(int, long) - Constructor for class me.ahoo.cosid.machine.MachineState
 
MachineStateStorage - Interface in me.ahoo.cosid.machine
Machine State Storage.
ManualMachineIdDistributor - Class in me.ahoo.cosid.machine
Manual Machine Id Distributor.
ManualMachineIdDistributor(int, MachineStateStorage, ClockBackwardsSynchronizer) - Constructor for class me.ahoo.cosid.machine.ManualMachineIdDistributor
 
MAX_CHAR_SIZE - Static variable in class me.ahoo.cosid.converter.Radix36IdConverter
 
MAX_CHAR_SIZE - Static variable in class me.ahoo.cosid.converter.Radix62IdConverter
 
maxCharSize(int, int) - Static method in class me.ahoo.cosid.converter.RadixIdConverter
 
maxMachine - Variable in class me.ahoo.cosid.snowflake.AbstractSnowflakeId
 
maxMachineId(int) - Static method in interface me.ahoo.cosid.machine.MachineIdDistributor
 
maxOriginalId() - Method in exception me.ahoo.cosid.uncertainty.OriginalIdOverflowException
 
maxOriginalId() - Method in class me.ahoo.cosid.uncertainty.UncertaintyIdGenerator
 
maxSequence - Variable in class me.ahoo.cosid.snowflake.AbstractSnowflakeId
 
maxTimestamp - Variable in class me.ahoo.cosid.snowflake.AbstractSnowflakeId
 
me.ahoo.cosid - package me.ahoo.cosid
 
me.ahoo.cosid.accessor - package me.ahoo.cosid.accessor
 
me.ahoo.cosid.accessor.field - package me.ahoo.cosid.accessor.field
 
me.ahoo.cosid.accessor.method - package me.ahoo.cosid.accessor.method
 
me.ahoo.cosid.accessor.parser - package me.ahoo.cosid.accessor.parser
 
me.ahoo.cosid.accessor.registry - package me.ahoo.cosid.accessor.registry
 
me.ahoo.cosid.accessor.scanner - package me.ahoo.cosid.accessor.scanner
 
me.ahoo.cosid.annotation - package me.ahoo.cosid.annotation
 
me.ahoo.cosid.converter - package me.ahoo.cosid.converter
 
me.ahoo.cosid.cosid - package me.ahoo.cosid.cosid
 
me.ahoo.cosid.jvm - package me.ahoo.cosid.jvm
 
me.ahoo.cosid.machine - package me.ahoo.cosid.machine
 
me.ahoo.cosid.machine.k8s - package me.ahoo.cosid.machine.k8s
 
me.ahoo.cosid.provider - package me.ahoo.cosid.provider
 
me.ahoo.cosid.segment - package me.ahoo.cosid.segment
 
me.ahoo.cosid.segment.concurrent - package me.ahoo.cosid.segment.concurrent
 
me.ahoo.cosid.sharding - package me.ahoo.cosid.sharding
 
me.ahoo.cosid.snowflake - package me.ahoo.cosid.snowflake
 
me.ahoo.cosid.snowflake.exception - package me.ahoo.cosid.snowflake.exception
 
me.ahoo.cosid.uncertainty - package me.ahoo.cosid.uncertainty
 
me.ahoo.cosid.util - package me.ahoo.cosid.util
 
MergedIdSegment - Class in me.ahoo.cosid.segment
Merged IdSegment.
MergedIdSegment(int, IdSegment) - Constructor for class me.ahoo.cosid.segment.MergedIdSegment
 
MethodGetter - Class in me.ahoo.cosid.accessor.method
Method Getter.
MethodGetter(Method) - Constructor for class me.ahoo.cosid.accessor.method.MethodGetter
 
MethodSetter - Class in me.ahoo.cosid.accessor.method
Method Setter.
MethodSetter(Method) - Constructor for class me.ahoo.cosid.accessor.method.MethodSetter
 
MillisecondSnowflakeId - Class in me.ahoo.cosid.snowflake
Millisecond SnowflakeId.
MillisecondSnowflakeId(long) - Constructor for class me.ahoo.cosid.snowflake.MillisecondSnowflakeId
 
MillisecondSnowflakeId(int, long) - Constructor for class me.ahoo.cosid.snowflake.MillisecondSnowflakeId
 
MillisecondSnowflakeId(long, int, int, int, long) - Constructor for class me.ahoo.cosid.snowflake.MillisecondSnowflakeId
 
MillisecondSnowflakeId(long, int, int, int, long, long) - Constructor for class me.ahoo.cosid.snowflake.MillisecondSnowflakeId
 
MillisecondSnowflakeIdStateParser - Class in me.ahoo.cosid.snowflake
Millisecond SnowflakeId State Parser.
MillisecondSnowflakeIdStateParser(long, int, int, int) - Constructor for class me.ahoo.cosid.snowflake.MillisecondSnowflakeIdStateParser
 
MillisecondSnowflakeIdStateParser(long, int, int, int, ZoneId) - Constructor for class me.ahoo.cosid.snowflake.MillisecondSnowflakeIdStateParser
 
Mock() - Constructor for class me.ahoo.cosid.segment.IdSegmentDistributor.Mock
 
Mock(long, int) - Constructor for class me.ahoo.cosid.segment.IdSegmentDistributor.Mock
ctor.
ModCycle<T extends java.lang.Number & java.lang.Comparable<T>> - Class in me.ahoo.cosid.sharding
ModCycle.
ModCycle(int, String) - Constructor for class me.ahoo.cosid.sharding.ModCycle
 
MultipleIdNotSupportException - Exception in me.ahoo.cosid.accessor
Multiple Id Not Support Exception.
MultipleIdNotSupportException(Class<?>) - Constructor for exception me.ahoo.cosid.accessor.MultipleIdNotSupportException
 

N

NamedDefinitionParser - Class in me.ahoo.cosid.accessor.parser
Named FieldDefinitionParser implementation.
NamedDefinitionParser(String) - Constructor for class me.ahoo.cosid.accessor.parser.NamedDefinitionParser
 
NamespacedInstanceId - Class in me.ahoo.cosid.machine
NamespacedInstanceId .
NamespacedInstanceId(String, InstanceId) - Constructor for class me.ahoo.cosid.machine.NamespacedInstanceId
 
newRoot() - Static method in class me.ahoo.cosid.segment.IdSegmentChain
 
next(LocalDateTime) - Method in class me.ahoo.cosid.sharding.IntervalStep
 
nextIdSegment() - Method in interface me.ahoo.cosid.segment.IdSegmentDistributor
 
nextIdSegment(long) - Method in interface me.ahoo.cosid.segment.IdSegmentDistributor
 
nextIdSegment(int, long) - Method in interface me.ahoo.cosid.segment.IdSegmentDistributor
 
nextIdSegmentChain(IdSegmentChain) - Method in interface me.ahoo.cosid.segment.IdSegmentDistributor
 
nextIdSegmentChain(IdSegmentChain, int, long) - Method in interface me.ahoo.cosid.segment.IdSegmentDistributor
 
NextIdSegmentExpiredException - Exception in me.ahoo.cosid.segment
Next IdSegment Expired Exception.
NextIdSegmentExpiredException(IdSegment, IdSegment) - Constructor for exception me.ahoo.cosid.segment.NextIdSegmentExpiredException
 
nextMaxId(long) - Method in class me.ahoo.cosid.segment.IdSegmentDistributor.Atomic
 
nextMaxId(long) - Method in class me.ahoo.cosid.segment.IdSegmentDistributor.Mock
 
nextMaxId(long) - Method in interface me.ahoo.cosid.segment.IdSegmentDistributor
 
nextMaxId() - Method in interface me.ahoo.cosid.segment.IdSegmentDistributor
 
nextTime() - Method in class me.ahoo.cosid.snowflake.AbstractSnowflakeId
 
NONE - Static variable in class me.ahoo.cosid.machine.InstanceId
 
NONE - Static variable in interface me.ahoo.cosid.machine.MachineIdGuarder
 
None() - Constructor for class me.ahoo.cosid.machine.MachineIdGuarder.None
 
NOT_FOUND - Static variable in interface me.ahoo.cosid.accessor.CosIdAccessor
 
NOT_FOUND - Static variable in class me.ahoo.cosid.accessor.IdDefinition
 
NOT_FOUND - Static variable in class me.ahoo.cosid.machine.MachineState
 
NOT_FOUND_LAST_STAMP - Static variable in class me.ahoo.cosid.machine.AbstractMachineIdDistributor
 
NOT_SET - Static variable in class me.ahoo.cosid.segment.IdSegmentChain
 
NotFound() - Constructor for class me.ahoo.cosid.accessor.CosIdAccessor.NotFound
 
NotFoundIdGeneratorException - Exception in me.ahoo.cosid.provider
Not Found IdGenerator Exception.
NotFoundIdGeneratorException(String) - Constructor for exception me.ahoo.cosid.provider.NotFoundIdGeneratorException
 
NotFoundMachineStateException - Exception in me.ahoo.cosid.machine
NotFoundMachineStateException .
NotFoundMachineStateException(String, InstanceId) - Constructor for exception me.ahoo.cosid.machine.NotFoundMachineStateException
 

O

of(boolean, int) - Static method in class me.ahoo.cosid.converter.Radix36IdConverter
Return an instance representing the specified parameter.
of(boolean, int) - Static method in class me.ahoo.cosid.converter.Radix62IdConverter
Return an instance representing the specified parameter.
of(String, int, boolean) - Static method in class me.ahoo.cosid.machine.InstanceId
 
of(String, boolean) - Static method in class me.ahoo.cosid.machine.InstanceId
 
of(int, long) - Static method in class me.ahoo.cosid.machine.MachineState
 
of(int) - Static method in class me.ahoo.cosid.machine.MachineState
 
of(String) - Static method in class me.ahoo.cosid.machine.MachineState
 
of(ChronoUnit) - Static method in class me.ahoo.cosid.sharding.IntervalStep
 
of(ChronoUnit, int) - Static method in class me.ahoo.cosid.sharding.IntervalStep
 
of(SnowflakeId) - Static method in class me.ahoo.cosid.snowflake.MillisecondSnowflakeIdStateParser
 
of(SnowflakeId, ZoneId) - Static method in class me.ahoo.cosid.snowflake.MillisecondSnowflakeIdStateParser
 
of(SnowflakeId) - Static method in class me.ahoo.cosid.snowflake.SecondSnowflakeIdStateParser
 
of(SnowflakeId, ZoneId) - Static method in class me.ahoo.cosid.snowflake.SecondSnowflakeIdStateParser
 
of(SnowflakeId) - Static method in class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
 
of(SnowflakeId, ZoneId) - Static method in class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
 
ofFriendlyId(String) - Method in interface me.ahoo.cosid.snowflake.SnowflakeFriendlyId
 
offset(char) - Static method in class me.ahoo.cosid.converter.RadixIdConverter
 
offsetUnit(LocalDateTime, LocalDateTime) - Method in class me.ahoo.cosid.sharding.IntervalStep
计算单位偏移量.
ofMillisecond(long, int, int, int, long, long) - Static method in class me.ahoo.cosid.snowflake.SafeJavaScriptSnowflakeId
 
ofMillisecond(long) - Static method in class me.ahoo.cosid.snowflake.SafeJavaScriptSnowflakeId
Max Sequence (9 bits) = ((1<<)*1000) = 512000 (TPS) Max Machine (3 bits) = 1<<3 = 8 Max Timestamp = 2199023255551 ms ~~ 69.7 years
ofSecond(long, int, int, int, long, long) - Static method in class me.ahoo.cosid.snowflake.SafeJavaScriptSnowflakeId
 
ofSecond(long) - Static method in class me.ahoo.cosid.snowflake.SafeJavaScriptSnowflakeId
Max Sequence (19 bits) = (1<<19) = 524288 (TPS).
ONE_SECOND_PERIOD - Static variable in class me.ahoo.cosid.util.Clock.CacheClock
Tolerate a one-second time limit.
ONE_STEP - Static variable in interface me.ahoo.cosid.segment.SegmentId
 
originalId() - Method in exception me.ahoo.cosid.uncertainty.OriginalIdOverflowException
 
originalIdBits() - Method in exception me.ahoo.cosid.uncertainty.OriginalIdOverflowException
 
originalIdBits() - Method in class me.ahoo.cosid.uncertainty.UncertaintyIdGenerator
 
OriginalIdOverflowException - Exception in me.ahoo.cosid.uncertainty
 
OriginalIdOverflowException(long, int, long) - Constructor for exception me.ahoo.cosid.uncertainty.OriginalIdOverflowException
 
OVERFLOW - Static variable in class me.ahoo.cosid.segment.DefaultIdSegment
 

P

PAD_CHAR - Static variable in class me.ahoo.cosid.converter.RadixIdConverter
 
PAD_START - Static variable in class me.ahoo.cosid.converter.Radix36IdConverter
 
PAD_START - Static variable in class me.ahoo.cosid.converter.Radix62IdConverter
 
parse(Class<?>) - Method in interface me.ahoo.cosid.accessor.parser.CosIdAccessorParser
 
parse(Class<?>) - Method in class me.ahoo.cosid.accessor.parser.DefaultAccessorParser
 
parse(List<Class<?>>, Field) - Method in interface me.ahoo.cosid.accessor.parser.FieldDefinitionParser
 
parse(List<Class<?>>, Field) - Method in class me.ahoo.cosid.accessor.parser.NamedDefinitionParser
 
parse(List<Class<?>>, Field) - Method in class me.ahoo.cosid.annotation.AnnotationDefinitionParser
 
parse(String) - Method in class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
 
parse(long) - Method in class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
 
parseClass(Class<?>) - Method in class me.ahoo.cosid.accessor.parser.DefaultAccessorParser
 
parseGetter(Field) - Static method in class me.ahoo.cosid.accessor.parser.DefaultAccessorParser
 
parseMachineId(long) - Method in class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
 
parseSequence(long) - Method in class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
 
parseSetter(Field) - Static method in class me.ahoo.cosid.accessor.parser.DefaultAccessorParser
 
parseTimestamp(long) - Method in class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
 
prefetch() - Method in class me.ahoo.cosid.segment.SegmentChainId.PrefetchJob
 
PrefetchJob(IdSegmentChain) - Constructor for class me.ahoo.cosid.segment.SegmentChainId.PrefetchJob
 
PrefetchWorker - Interface in me.ahoo.cosid.segment.concurrent
Prefetch Worker.
PrefetchWorkerExecutorService - Class in me.ahoo.cosid.segment.concurrent
Prefetch Worker Executor Service.
PrefetchWorkerExecutorService(Duration, int) - Constructor for class me.ahoo.cosid.segment.concurrent.PrefetchWorkerExecutorService
 
PrefetchWorkerExecutorService(Duration, int, boolean) - Constructor for class me.ahoo.cosid.segment.concurrent.PrefetchWorkerExecutorService
 
PrefetchWorkerExecutorService.GracefullyCloser - Class in me.ahoo.cosid.segment.concurrent
 
PrefixIdConverter - Class in me.ahoo.cosid.converter
Converter for setting string ID prefix.
PrefixIdConverter(String, IdConverter) - Constructor for class me.ahoo.cosid.converter.PrefixIdConverter
 
ProcessId - Enum in me.ahoo.cosid.util
get current process id .

R

RADIX - Static variable in class me.ahoo.cosid.converter.Radix36IdConverter
 
RADIX - Static variable in class me.ahoo.cosid.converter.Radix62IdConverter
 
Radix36CosIdGenerator - Class in me.ahoo.cosid.cosid
[timestamp(44)]-[machineId-(20)]-[sequence-(16)] = 80 BITS = 17 CHARS.
Radix36CosIdGenerator(int) - Constructor for class me.ahoo.cosid.cosid.Radix36CosIdGenerator
 
Radix36CosIdGenerator(int, int, int, int, int) - Constructor for class me.ahoo.cosid.cosid.Radix36CosIdGenerator
 
Radix36IdConverter - Class in me.ahoo.cosid.converter
36 bit string ID converter like this [0-9][A-Z]{13} .
Radix36IdConverter(boolean, int) - Constructor for class me.ahoo.cosid.converter.Radix36IdConverter
 
Radix62CosIdGenerator - Class in me.ahoo.cosid.cosid
[timestamp(44)]-[machineId-(20)]-[sequence-(16)] = 80 BITS = 15 CHARS.
Radix62CosIdGenerator(int) - Constructor for class me.ahoo.cosid.cosid.Radix62CosIdGenerator
 
Radix62CosIdGenerator(int, int, int, int, int) - Constructor for class me.ahoo.cosid.cosid.Radix62CosIdGenerator
 
Radix62IdConverter - Class in me.ahoo.cosid.converter
62 bit string ID converter like this [0-9][A-Z][a-z]{11} .
Radix62IdConverter(boolean, int) - Constructor for class me.ahoo.cosid.converter.Radix62IdConverter
 
RadixCosIdGenerator - Class in me.ahoo.cosid.cosid
 
RadixCosIdGenerator(int, int, int, int, int, CosIdIdStateParser) - Constructor for class me.ahoo.cosid.cosid.RadixCosIdGenerator
 
RadixCosIdStateParser - Class in me.ahoo.cosid.cosid
 
RadixCosIdStateParser(RadixIdConverter, RadixIdConverter, RadixIdConverter) - Constructor for class me.ahoo.cosid.cosid.RadixCosIdStateParser
 
RadixIdConverter - Class in me.ahoo.cosid.converter
 
RadixIdConverter(boolean, int) - Constructor for class me.ahoo.cosid.converter.RadixIdConverter
 
register(Class<?>) - Method in interface me.ahoo.cosid.accessor.registry.CosIdAccessorRegistry
 
register(Class<?>, CosIdAccessor) - Method in interface me.ahoo.cosid.accessor.registry.CosIdAccessorRegistry
 
register(Class<?>) - Method in class me.ahoo.cosid.accessor.registry.DefaultAccessorRegistry
 
register(Class<?>, CosIdAccessor) - Method in class me.ahoo.cosid.accessor.registry.DefaultAccessorRegistry
 
register(String, InstanceId) - Method in class me.ahoo.cosid.machine.DefaultMachineIdGuarder
 
register(String, InstanceId) - Method in class me.ahoo.cosid.machine.MachineIdGuarder.None
 
register(String, InstanceId) - Method in interface me.ahoo.cosid.machine.MachineIdGuarder
 
remove(String, InstanceId) - Method in class me.ahoo.cosid.machine.InMemoryMachineStateStorage
 
remove(String, InstanceId) - Method in class me.ahoo.cosid.machine.LocalMachineStateStorage
 
remove(String, InstanceId) - Method in interface me.ahoo.cosid.machine.MachineStateStorage
 
remove(String) - Method in class me.ahoo.cosid.provider.DefaultIdGeneratorProvider
 
remove(String) - Method in interface me.ahoo.cosid.provider.IdGeneratorProvider
remove ID generator by name.
remove(Object) - Method in class me.ahoo.cosid.sharding.ExactCollection
 
removeAll(Collection<?>) - Method in class me.ahoo.cosid.sharding.ExactCollection
 
removeShare() - Method in class me.ahoo.cosid.provider.DefaultIdGeneratorProvider
 
removeShare() - Method in interface me.ahoo.cosid.provider.IdGeneratorProvider
Remove shared ID generator.
resolveMachineId() - Static method in class me.ahoo.cosid.machine.k8s.StatefulSetMachineIdDistributor
 
retainAll(Collection<?>) - Method in class me.ahoo.cosid.sharding.ExactCollection
 
revert(String, InstanceId) - Method in class me.ahoo.cosid.machine.AbstractMachineIdDistributor
1.
revert(String, InstanceId) - Method in interface me.ahoo.cosid.machine.MachineIdDistributor
revert machine id.
revertRemote(String, InstanceId, MachineState) - Method in class me.ahoo.cosid.machine.AbstractMachineIdDistributor
 
revertRemote(String, InstanceId, MachineState) - Method in class me.ahoo.cosid.machine.k8s.StatefulSetMachineIdDistributor
 
revertRemote(String, InstanceId, MachineState) - Method in class me.ahoo.cosid.machine.ManualMachineIdDistributor
 
ROOT_VERSION - Static variable in class me.ahoo.cosid.segment.IdSegmentChain
 
run() - Method in class me.ahoo.cosid.segment.concurrent.DefaultPrefetchWorker
 
run() - Method in class me.ahoo.cosid.segment.concurrent.PrefetchWorkerExecutorService.GracefullyCloser
 
run() - Method in class me.ahoo.cosid.segment.SegmentChainId.PrefetchJob
 
run() - Method in class me.ahoo.cosid.util.Clock.CacheClock
 

S

SafeJavaScriptSnowflakeId - Class in me.ahoo.cosid.snowflake
Safe JavaScript Number ID.
SafeJavaScriptSnowflakeId() - Constructor for class me.ahoo.cosid.snowflake.SafeJavaScriptSnowflakeId
 
scan() - Method in interface me.ahoo.cosid.accessor.scanner.CosIdScanner
 
scan() - Method in class me.ahoo.cosid.accessor.scanner.DefaultCosIdScanner
 
SecondSnowflakeId - Class in me.ahoo.cosid.snowflake
Second SnowflakeId.
SecondSnowflakeId(long) - Constructor for class me.ahoo.cosid.snowflake.SecondSnowflakeId
 
SecondSnowflakeId(int, long) - Constructor for class me.ahoo.cosid.snowflake.SecondSnowflakeId
 
SecondSnowflakeId(long, int, int, int, long) - Constructor for class me.ahoo.cosid.snowflake.SecondSnowflakeId
 
SecondSnowflakeId(long, int, int, int, long, long) - Constructor for class me.ahoo.cosid.snowflake.SecondSnowflakeId
 
SecondSnowflakeIdStateParser - Class in me.ahoo.cosid.snowflake
Second SnowflakeId State Parser.
SecondSnowflakeIdStateParser(long, int, int, int) - Constructor for class me.ahoo.cosid.snowflake.SecondSnowflakeIdStateParser
 
SecondSnowflakeIdStateParser(long, int, int, int, ZoneId) - Constructor for class me.ahoo.cosid.snowflake.SecondSnowflakeIdStateParser
 
secondTime() - Method in class me.ahoo.cosid.util.Clock.CacheClock
 
secondTime() - Method in interface me.ahoo.cosid.util.Clock
 
secondTime() - Method in class me.ahoo.cosid.util.Clock.SystemClock
System.currentTimeMillis() is too slow.
SegmentChainId - Class in me.ahoo.cosid.segment
Segment chain algorithm ID generator.
SegmentChainId(IdSegmentDistributor) - Constructor for class me.ahoo.cosid.segment.SegmentChainId
 
SegmentChainId(long, int, IdSegmentDistributor, PrefetchWorkerExecutorService) - Constructor for class me.ahoo.cosid.segment.SegmentChainId
 
SegmentChainId.PrefetchJob - Class in me.ahoo.cosid.segment
 
SegmentId - Interface in me.ahoo.cosid.segment
Segment algorithm ID generator.
sequence - Variable in class me.ahoo.cosid.snowflake.AbstractSnowflakeId
 
sequence(long) - Method in class me.ahoo.cosid.snowflake.SnowflakeIdState.SnowflakeIdStateBuilder
 
SEQUENCE_OVERFLOW - Static variable in interface me.ahoo.cosid.segment.IdSegment
 
sequenceBit - Variable in class me.ahoo.cosid.snowflake.AbstractSnowflakeId
 
sequenceBit - Variable in class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
 
sequenceMask - Variable in class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
 
set(String, int, InstanceId) - Method in class me.ahoo.cosid.machine.InMemoryMachineStateStorage
 
set(String, int, InstanceId) - Method in class me.ahoo.cosid.machine.LocalMachineStateStorage
 
set(String, int, InstanceId) - Method in interface me.ahoo.cosid.machine.MachineStateStorage
 
set(String, IdGenerator) - Method in class me.ahoo.cosid.provider.DefaultIdGeneratorProvider
 
set(String, IdGenerator) - Method in interface me.ahoo.cosid.provider.IdGeneratorProvider
Set ID generator by name.
SET_PREFIX - Static variable in class me.ahoo.cosid.accessor.parser.DefaultAccessorParser
 
setHungerTime(long) - Method in interface me.ahoo.cosid.segment.concurrent.AffinityJob
set hunger time.
setHungerTime(long) - Method in class me.ahoo.cosid.segment.SegmentChainId.PrefetchJob
 
setId(Object, Object) - Method in class me.ahoo.cosid.accessor.CosIdAccessor.NotFound
 
setId(Object, Object) - Method in interface me.ahoo.cosid.accessor.CosIdSetter
 
setId(Object, Object) - Method in class me.ahoo.cosid.accessor.DefaultCosIdAccessor
 
setId(Object, Object) - Method in class me.ahoo.cosid.accessor.field.FieldSetter
 
setId(Object, Object) - Method in class me.ahoo.cosid.accessor.method.MethodSetter
 
setNext(IdSegmentChain) - Method in class me.ahoo.cosid.segment.IdSegmentChain
 
setPrefetchWorker(PrefetchWorker) - Method in interface me.ahoo.cosid.segment.concurrent.AffinityJob
 
setPrefetchWorker(PrefetchWorker) - Method in class me.ahoo.cosid.segment.SegmentChainId.PrefetchJob
 
setShare(IdGenerator) - Method in class me.ahoo.cosid.provider.DefaultIdGeneratorProvider
 
setShare(IdGenerator) - Method in interface me.ahoo.cosid.provider.IdGeneratorProvider
Set shared ID generator.
sharding(T) - Method in class me.ahoo.cosid.sharding.CachedSharding
 
sharding(Range<T>) - Method in class me.ahoo.cosid.sharding.CachedSharding
 
sharding(LocalDateTime) - Method in class me.ahoo.cosid.sharding.IntervalTimeline
 
sharding(Range<LocalDateTime>) - Method in class me.ahoo.cosid.sharding.IntervalTimeline
 
sharding(T) - Method in class me.ahoo.cosid.sharding.ModCycle
 
sharding(Range<T>) - Method in class me.ahoo.cosid.sharding.ModCycle
 
Sharding<T extends java.lang.Comparable<?>> - Interface in me.ahoo.cosid.sharding
Sharding algorithm interface.
sharding(T) - Method in interface me.ahoo.cosid.sharding.Sharding
 
sharding(Range<T>) - Method in interface me.ahoo.cosid.sharding.Sharding
 
SHARE - Static variable in interface me.ahoo.cosid.provider.IdGeneratorProvider
the key of shared ID generator.
shutdown() - Method in class me.ahoo.cosid.segment.concurrent.DefaultPrefetchWorker
 
shutdown() - Method in interface me.ahoo.cosid.segment.concurrent.PrefetchWorker
 
shutdown() - Method in class me.ahoo.cosid.segment.concurrent.PrefetchWorkerExecutorService
 
size(String) - Method in class me.ahoo.cosid.machine.InMemoryMachineStateStorage
 
size(String) - Method in class me.ahoo.cosid.machine.LocalMachineStateStorage
 
size(String) - Method in interface me.ahoo.cosid.machine.MachineStateStorage
 
size() - Method in class me.ahoo.cosid.sharding.ExactCollection
 
size() - Method in class me.ahoo.cosid.sharding.IntervalTimeline
 
SnowflakeFriendlyId - Interface in me.ahoo.cosid.snowflake
Snowflake FriendlyId.
SnowflakeFriendlyIdConverter - Class in me.ahoo.cosid.converter
Snowflake FriendlyId Converter.
SnowflakeFriendlyIdConverter(SnowflakeIdStateParser) - Constructor for class me.ahoo.cosid.converter.SnowflakeFriendlyIdConverter
 
SnowflakeId - Interface in me.ahoo.cosid.snowflake
Snowflake algorithm ID generator.
SnowflakeIdState - Class in me.ahoo.cosid.snowflake
SnowflakeId State.
SnowflakeIdState.SnowflakeIdStateBuilder - Class in me.ahoo.cosid.snowflake
 
SnowflakeIdStateParser - Class in me.ahoo.cosid.snowflake
SnowflakeId State Parser.
SnowflakeIdStateParser(long, int, int, int) - Constructor for class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
 
SnowflakeIdStateParser(long, int, int, int, ZoneId) - Constructor for class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
 
start() - Method in class me.ahoo.cosid.machine.DefaultMachineIdGuarder
 
start() - Method in class me.ahoo.cosid.machine.MachineIdGuarder.None
 
start() - Method in interface me.ahoo.cosid.machine.MachineIdGuarder
 
STATE_DELIMITER - Static variable in class me.ahoo.cosid.machine.MachineState
 
StatefulSetMachineIdDistributor - Class in me.ahoo.cosid.machine.k8s
StatefulSet MachineId Distributor.
StatefulSetMachineIdDistributor(MachineStateStorage, ClockBackwardsSynchronizer) - Constructor for class me.ahoo.cosid.machine.k8s.StatefulSetMachineIdDistributor
 
stateLocation - Variable in class me.ahoo.cosid.machine.LocalMachineStateStorage
 
stop() - Method in class me.ahoo.cosid.machine.DefaultMachineIdGuarder
 
stop() - Method in class me.ahoo.cosid.machine.MachineIdGuarder.None
 
stop() - Method in interface me.ahoo.cosid.machine.MachineIdGuarder
 
StringIdGenerator - Interface in me.ahoo.cosid
String type ID generator.
StringIdGeneratorDecorator - Class in me.ahoo.cosid
used to enhance the generated string ID.
StringIdGeneratorDecorator(IdGenerator, IdConverter) - Constructor for class me.ahoo.cosid.StringIdGeneratorDecorator
 
StringSegmentId - Class in me.ahoo.cosid.segment
String SegmentId.
StringSegmentId(SegmentId, IdConverter) - Constructor for class me.ahoo.cosid.segment.StringSegmentId
 
StringSnowflakeId - Class in me.ahoo.cosid.snowflake
String SnowflakeId.
StringSnowflakeId(SnowflakeId, IdConverter) - Constructor for class me.ahoo.cosid.snowflake.StringSnowflakeId
 
submit(AffinityJob) - Method in class me.ahoo.cosid.segment.concurrent.DefaultPrefetchWorker
 
submit(AffinityJob) - Method in interface me.ahoo.cosid.segment.concurrent.PrefetchWorker
 
submit(AffinityJob) - Method in class me.ahoo.cosid.segment.concurrent.PrefetchWorkerExecutorService
 
SuffixIdConverter - Class in me.ahoo.cosid.converter
Suffix IdConverter .
SuffixIdConverter(String, IdConverter) - Constructor for class me.ahoo.cosid.converter.SuffixIdConverter
 
sync(long) - Method in interface me.ahoo.cosid.machine.ClockBackwardsSynchronizer
 
sync(long) - Method in class me.ahoo.cosid.machine.DefaultClockBackwardsSynchronizer
 
syncUninterruptibly(long) - Method in interface me.ahoo.cosid.machine.ClockBackwardsSynchronizer
 
syncUninterruptibly(long) - Method in class me.ahoo.cosid.machine.DefaultClockBackwardsSynchronizer
 
SYSTEM - Static variable in interface me.ahoo.cosid.util.Clock
 
SystemClock() - Constructor for class me.ahoo.cosid.util.Clock.SystemClock
 

T

TIME_TO_LIVE_FOREVER - Static variable in interface me.ahoo.cosid.segment.IdSegment
 
timestamp(LocalDateTime) - Method in class me.ahoo.cosid.snowflake.SnowflakeIdState.SnowflakeIdStateBuilder
 
timestampBit - Variable in class me.ahoo.cosid.snowflake.AbstractSnowflakeId
 
timestampBit - Variable in class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
 
timestampLeft - Variable in class me.ahoo.cosid.snowflake.AbstractSnowflakeId
 
timestampLeft - Variable in class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
 
timestampMask - Variable in class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
 
TimestampOverflowException - Exception in me.ahoo.cosid.snowflake.exception
Timestamp Overflow Exception.
TimestampOverflowException(long, long, long) - Constructor for exception me.ahoo.cosid.snowflake.exception.TimestampOverflowException
 
toArray() - Method in class me.ahoo.cosid.sharding.ExactCollection
 
toArray(T[]) - Method in class me.ahoo.cosid.sharding.ExactCollection
 
toStateString() - Method in class me.ahoo.cosid.machine.MachineState
 
toString() - Method in class me.ahoo.cosid.cosid.CosIdState
 
toString() - Method in class me.ahoo.cosid.machine.InstanceId
 
toString() - Method in class me.ahoo.cosid.machine.MachineState
 
toString() - Method in class me.ahoo.cosid.machine.NamespacedInstanceId
 
toString() - Method in class me.ahoo.cosid.segment.DefaultIdSegment
 
toString() - Method in class me.ahoo.cosid.segment.IdSegmentChain
 
toString() - Method in class me.ahoo.cosid.segment.MergedIdSegment
 
toString() - Method in class me.ahoo.cosid.snowflake.SnowflakeIdState.SnowflakeIdStateBuilder
 
toString() - Method in class me.ahoo.cosid.snowflake.SnowflakeIdState
 
ToStringIdConverter - Class in me.ahoo.cosid.converter
ToString ID Converter.
ToStringIdConverter() - Constructor for class me.ahoo.cosid.converter.ToStringIdConverter
 
TOTAL_BIT - Static variable in interface me.ahoo.cosid.snowflake.SnowflakeId
 
totalMachineIds(int) - Static method in interface me.ahoo.cosid.machine.MachineIdDistributor
 
tryGet(boolean) - Method in class me.ahoo.cosid.provider.LazyIdGenerator
 
trySetNext(Function<IdSegmentChain, IdSegmentChain>) - Method in class me.ahoo.cosid.segment.IdSegmentChain
try set next Chained ID segment.

U

uncertaintyBits() - Method in class me.ahoo.cosid.uncertainty.UncertaintyIdGenerator
 
uncertaintyBound() - Method in class me.ahoo.cosid.uncertainty.UncertaintyIdGenerator
 
UncertaintyIdGenerator - Class in me.ahoo.cosid.uncertainty
Uncertainty ID Generator.
UncertaintyIdGenerator(IdGenerator, int) - Constructor for class me.ahoo.cosid.uncertainty.UncertaintyIdGenerator
 
unregister(String, InstanceId) - Method in class me.ahoo.cosid.machine.DefaultMachineIdGuarder
 
unregister(String, InstanceId) - Method in class me.ahoo.cosid.machine.MachineIdGuarder.None
 
unregister(String, InstanceId) - Method in interface me.ahoo.cosid.machine.MachineIdGuarder
 
UuidGenerator - Class in me.ahoo.cosid.jvm
UUID ID Generator.
UuidGenerator() - Constructor for class me.ahoo.cosid.jvm.UuidGenerator
 

V

valueOf(String) - Static method in enum me.ahoo.cosid.util.ProcessId
Returns the enum constant of this type with the specified name.
values() - Static method in enum me.ahoo.cosid.util.ProcessId
Returns an array containing the constants of this enum type, in the order they are declared.

W

wakeup(AffinityJob) - Method in class me.ahoo.cosid.segment.concurrent.DefaultPrefetchWorker
 
wakeup(AffinityJob) - Method in interface me.ahoo.cosid.segment.concurrent.PrefetchWorker
 

Z

zoneId - Variable in class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
 
A B C D E F G H I J L M N O P R S T U V W Z 
Skip navigation links