Index

A B C D E F G H I J K L M N O P R S T U V W Y Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AbstractDateGroupBySupplier<D extends TemporalAccessor> - Class in me.ahoo.cosid.segment.grouped.date
Abstract base class for date-based group key suppliers.
AbstractDateGroupBySupplier(DateTimeFormatter) - Constructor for class me.ahoo.cosid.segment.grouped.date.AbstractDateGroupBySupplier
Creates a supplier with the specified formatter.
AbstractIdMetadata - Class in me.ahoo.cosid.accessor
Abstract base implementation of IdMetadata.
AbstractIdMetadata(IdDefinition) - Constructor for class me.ahoo.cosid.accessor.AbstractIdMetadata
Creates an instance with the given ID definition.
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 implementation.
AbstractSnowflakeId(long, int, int, int, int, long) - Constructor for class me.ahoo.cosid.snowflake.AbstractSnowflakeId
Creates a new AbstractSnowflakeId.
ActivitiIdGenerator - Class in me.ahoo.cosid.activiti
Activiti IdGenerator Based on CosId.
ActivitiIdGenerator() - Constructor for class me.ahoo.cosid.activiti.ActivitiIdGenerator
 
ActivitiIdGeneratorAutoConfiguration - Class in me.ahoo.cosid.spring.boot.starter.activiti
Activiti IdGenerator Auto Configuration.
ActivitiIdGeneratorAutoConfiguration() - Constructor for class me.ahoo.cosid.spring.boot.starter.activiti.ActivitiIdGeneratorAutoConfiguration
 
actual - Variable in class me.ahoo.cosid.IntegerIdGenerator
The actual ID generator that produces long IDs.
actual - Variable in class me.ahoo.cosid.StringIdGeneratorDecorator
The actual ID generator being decorated.
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
Gets the affinity key for worker assignment.
AffinityJob - Interface in me.ahoo.cosid.segment.concurrent
Job with affinity for prefetch worker assignment.
afterPropertiesSet() - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdBeanRegistrar
 
afterPropertiesSet() - Method in class me.ahoo.cosid.spring.boot.starter.snowflake.SnowflakeIdBeanRegistrar
 
allowReset() - Method in interface me.ahoo.cosid.segment.grouped.GroupedIdSegmentDistributor
 
allowReset() - Method in interface me.ahoo.cosid.segment.IdSegmentDistributor
Check if this distributor allows segment resetting.
annotationDefinitionParser() - Method in class me.ahoo.cosid.spring.boot.starter.CosIdAutoConfiguration
Provides the annotation-based field definition parser with highest precedence.
AnnotationDefinitionParser - Class in me.ahoo.cosid.annotation
Parses CosId annotations to create IdDefinition.
AnnotationDefinitionParser() - Constructor for class me.ahoo.cosid.annotation.AnnotationDefinitionParser
 
asFriendlyId(boolean) - Method in class me.ahoo.cosid.provider.LazyIdGenerator
Gets this generator as a SnowflakeFriendlyId.
asLong(String) - Method in class me.ahoo.cosid.converter.DatePrefixIdConverter
 
asLong(String) - Method in class me.ahoo.cosid.converter.GroupedPrefixIdConverter
 
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 a String type ID back to its long representation.
asSegmentId(boolean) - Method in class me.ahoo.cosid.provider.LazyIdGenerator
Gets this generator as a SegmentId.
Assert - Class in me.ahoo.cosid.test
Assert .
Assert() - Constructor for class me.ahoo.cosid.test.Assert
 
Assert.Executable - Interface in me.ahoo.cosid.test
 
assertGlobalEach(long, long) - Method in class me.ahoo.cosid.test.ConcurrentGenerateSpec
 
assertGlobalEach(String, String) - Method in class me.ahoo.cosid.test.ConcurrentGenerateStingSpec
 
assertGlobalFirst(long) - Method in class me.ahoo.cosid.test.ConcurrentGenerateSpec
 
assertGlobalLast(long) - Method in class me.ahoo.cosid.test.ConcurrentGenerateSpec
 
assertSingleEach(long, long) - Method in class me.ahoo.cosid.test.ConcurrentGenerateSpec
 
assertSingleEach(String, String) - Method in class me.ahoo.cosid.test.ConcurrentGenerateStingSpec
 
assertThrows(Class<T>, Assert.Executable) - Static method in class me.ahoo.cosid.test.Assert
 
asSnowflakeId(boolean) - Method in class me.ahoo.cosid.provider.LazyIdGenerator
Gets this generator as a SnowflakeId.
asState(String) - Method in interface me.ahoo.cosid.cosid.CosIdIdStateParser
Parses a string representation into a CosIdState.
asState(String) - Method in class me.ahoo.cosid.cosid.FriendlyIdStateParser
 
asState(String) - Method in class me.ahoo.cosid.cosid.RadixCosIdStateParser
 
asString(long) - Method in class me.ahoo.cosid.converter.DatePrefixIdConverter
 
asString(long) - Method in class me.ahoo.cosid.converter.GroupedPrefixIdConverter
 
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) - Method in interface me.ahoo.cosid.IdConverter
Convert a long type ID to its String representation.
asString(long, int, int) - Method in interface me.ahoo.cosid.cosid.CosIdIdStateParser
Converts timestamp, machineId, and sequence to a string.
asString(long, int, int) - Method in class me.ahoo.cosid.cosid.FriendlyIdStateParser
 
asString(long, int, int) - Method in class me.ahoo.cosid.cosid.RadixCosIdStateParser
 
asString(CosIdState) - Method in interface me.ahoo.cosid.cosid.CosIdIdStateParser
Converts a CosIdState to its string representation.
asString(CosIdState) - Method in class me.ahoo.cosid.cosid.RadixCosIdStateParser
 
AsString - Annotation Interface in me.ahoo.cosid.jackson
The AsString annotation defines how to convert IDs.
AsString.Type - Enum Class in me.ahoo.cosid.jackson
 
AsStringDeserializer - Class in me.ahoo.cosid.jackson
AsString Deserializer.
AsStringDeserializer() - Constructor for class me.ahoo.cosid.jackson.AsStringDeserializer
 
AsStringDeserializer(IdConverter) - Constructor for class me.ahoo.cosid.jackson.AsStringDeserializer
 
AsStringSerializer - Class in me.ahoo.cosid.jackson
AsString Serializer.
AsStringSerializer() - Constructor for class me.ahoo.cosid.jackson.AsStringSerializer
 
AsStringSerializer(IdConverter) - Constructor for class me.ahoo.cosid.jackson.AsStringSerializer
 
Atomic() - Constructor for class me.ahoo.cosid.segment.IdSegmentDistributor.Atomic
Create a new Atomic distributor with default step size.
Atomic(long) - Constructor for class me.ahoo.cosid.segment.IdSegmentDistributor.Atomic
Create a new Atomic distributor with custom step size.
AtomicLongGenerator - Class in me.ahoo.cosid.jvm
AtomicLong-based ID generator.
AtomicLongGenerator() - Constructor for class me.ahoo.cosid.jvm.AtomicLongGenerator
 
availableType(Class<?>) - Static method in interface me.ahoo.cosid.accessor.CosIdAccessor
Check if the specified ID type is supported by CosId.
await(long, TimeUnit) - Method in class me.ahoo.cosid.mongo.reactive.BlockingAdapterSubscriber
 

B

BAD_REQUEST - Static variable in class me.ahoo.cosid.proxy.api.ErrorResponse
 
badRequest(String, List<?>) - Static method in class me.ahoo.cosid.proxy.api.ErrorResponse
 
badRequest(String) - Static method in class me.ahoo.cosid.proxy.api.ErrorResponse
 
badRequest(List<?>) - Static method in class me.ahoo.cosid.proxy.api.ErrorResponse
 
BASE_URL - Static variable in interface me.ahoo.cosid.proxy.api.MachineClient
 
block(long, TimeUnit) - Method in class me.ahoo.cosid.mongo.reactive.BlockingAdapterSubscriber
 
block(Publisher<R>) - Static method in class me.ahoo.cosid.mongo.reactive.BlockingAdapter
 
block(Mono<R>) - Static method in class me.ahoo.cosid.mongo.reactive.BlockingAdapter
 
BlockingAdapter - Class in me.ahoo.cosid.mongo.reactive
 
BlockingAdapterSubscriber<T> - Class in me.ahoo.cosid.mongo.reactive
 
BlockingAdapterSubscriber() - Constructor for class me.ahoo.cosid.mongo.reactive.BlockingAdapterSubscriber
 
build() - Method in class me.ahoo.cosid.snowflake.SnowflakeIdState.SnowflakeIdStateBuilder
Builds the SnowflakeIdState instance.
builder() - Static method in class me.ahoo.cosid.snowflake.SnowflakeIdState
Creates a new builder for SnowflakeIdState.

C

CACHE - Static variable in interface me.ahoo.cosid.util.Clock
 
CacheClock(Clock) - Constructor for class me.ahoo.cosid.util.Clock.CacheClock
 
CachedSharding<T extends Comparable<?>> - Class in me.ahoo.cosid.sharding
Caching wrapper for sharding algorithms.
CachedSharding(Sharding<T>) - Constructor for class me.ahoo.cosid.sharding.CachedSharding
Creates a cached wrapper around the specified sharding algorithm.
cancel(AffinityJob) - Method in class me.ahoo.cosid.segment.concurrent.DefaultPrefetchWorker
 
cancel(AffinityJob) - Method in interface me.ahoo.cosid.segment.concurrent.PrefetchWorker
Cancels a prefetch job.
capitalize(String) - Static method in class me.ahoo.cosid.accessor.parser.DefaultAccessorParser
Capitalizes a string (first character upper case).
Chain() - Constructor for class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Chain
Constructs a new Chain configuration with default prefetch worker.
CHAIN - Enum constant in enum class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Mode
Chain mode that uses a chain of segments with prefetching for better performance.
clear() - Method in class me.ahoo.cosid.provider.DefaultIdGeneratorProvider
 
clear() - Method in interface me.ahoo.cosid.provider.IdGeneratorProvider
Clear all registered ID generators.
clear() - Static method in class me.ahoo.cosid.segment.grouped.GroupedAccessor
Clears the grouped key for the current thread.
clear() - Method in class me.ahoo.cosid.sharding.ExactCollection
 
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
Clears all machine states for a given namespace.
Clock - Interface in me.ahoo.cosid.util
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
 
ClockBackwards() - Constructor for class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.ClockBackwards
 
ClockBackwardsException - Exception in me.ahoo.cosid.snowflake.exception
Exception thrown when system clock moves backwards.
ClockBackwardsException(long, long) - Constructor for exception me.ahoo.cosid.snowflake.exception.ClockBackwardsException
Creates a new exception.
clockBackwardsSynchronizer() - Method in class me.ahoo.cosid.spring.boot.starter.machine.CosIdMachineAutoConfiguration
 
ClockBackwardsSynchronizer - Interface in me.ahoo.cosid.machine
Synchronizer for handling clock backwards issues in Snowflake ID generation.
ClockSyncCosIdGenerator - Class in me.ahoo.cosid.cosid
ClockSync CosIdGenerator.
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
Exception thrown when clock backwards exceeds threshold.
ClockTooManyBackwardsException(long, long, long) - Constructor for exception me.ahoo.cosid.snowflake.exception.ClockTooManyBackwardsException
Creates a new exception.
COLLECTION_NAME - Static variable in interface me.ahoo.cosid.mongo.IdSegmentCollection
 
COLLECTION_NAME - Static variable in interface me.ahoo.cosid.mongo.MachineCollection
 
compareTo(CosIdState) - Method in class me.ahoo.cosid.cosid.CosIdState
 
compareTo(IdSegment) - Method in interface me.ahoo.cosid.segment.IdSegment
Compare this segment to another segment based on offset.
compareTo(SnowflakeIdState) - Method in class me.ahoo.cosid.snowflake.SnowflakeIdState
Compares this state to another by raw ID value.
compositeFieldDefinitionParser(List<FieldDefinitionParser>) - Method in class me.ahoo.cosid.spring.boot.starter.CosIdAutoConfiguration
Creates a composite field definition parser that combines multiple parsers.
CompositeFieldDefinitionParser - Class in me.ahoo.cosid.accessor.parser
Composite parser that tries multiple parsers in sequence.
CompositeFieldDefinitionParser(List<FieldDefinitionParser>) - Constructor for class me.ahoo.cosid.accessor.parser.CompositeFieldDefinitionParser
Creates a composite parser with the specified parsers.
ConcurrentGenerateSpec - Class in me.ahoo.cosid.test
Concurrent Generate Spec .
ConcurrentGenerateSpec(int, long, IdGenerator...) - Constructor for class me.ahoo.cosid.test.ConcurrentGenerateSpec
 
ConcurrentGenerateSpec(IdGenerator...) - Constructor for class me.ahoo.cosid.test.ConcurrentGenerateSpec
 
ConcurrentGenerateStingSpec - Class in me.ahoo.cosid.test
Concurrent Generate String ID Spec .
ConcurrentGenerateStingSpec(int, long, IdGenerator...) - Constructor for class me.ahoo.cosid.test.ConcurrentGenerateStingSpec
 
ConcurrentGenerateStingSpec(IdGenerator...) - Constructor for class me.ahoo.cosid.test.ConcurrentGenerateStingSpec
 
ConditionalOnCosIdEnabled - Annotation Interface in me.ahoo.cosid.spring.boot.starter
Conditional annotation that enables beans when CosId is enabled.
ConditionalOnCosIdGeneratorEnabled - Annotation Interface in me.ahoo.cosid.spring.boot.starter.cosid
Conditional On CosId Enabled.
ConditionalOnCosIdMachineEnabled - Annotation Interface in me.ahoo.cosid.spring.boot.starter.machine
ConditionalOnCosIdSnowflakeEnabled.
ConditionalOnCosIdMybatisEnabled - Annotation Interface in me.ahoo.cosid.spring.boot.starter.mybatis
Conditional On CosId Mybatis Enabled.
ConditionalOnCosIdSegmentEnabled - Annotation Interface in me.ahoo.cosid.spring.boot.starter.segment
Conditional On CosId SegmentEnabled.
ConditionalOnCosIdSnowflakeEnabled - Annotation Interface in me.ahoo.cosid.spring.boot.starter.snowflake
ConditionalOnCosIdSnowflakeEnabled.
ConditionalOnCosIdZookeeperEnabled - Annotation Interface in me.ahoo.cosid.spring.boot.starter.zookeeper
Conditional On CosId Zookeeper Enabled.
contains(Object) - Method in class me.ahoo.cosid.sharding.ExactCollection
 
contains(LocalDateTime) - Method in class me.ahoo.cosid.sharding.IntervalTimeline
Checks if the given time is within the effective interval.
converterDefinition - Variable in class me.ahoo.cosid.spring.boot.starter.IdConverterDecorator
 
CosId - Class in me.ahoo.cosid
CosId constants and configuration values.
CosId - Annotation Interface in me.ahoo.cosid.annotation
Annotation to mark fields or classes for CosId.
COSID - Static variable in class me.ahoo.cosid.CosId
The base name for CosId components and configuration properties.
COSID_EPOCH - Static variable in class me.ahoo.cosid.CosId
COSID_EPOCH in milliseconds: 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 in seconds: 1577203200.
COSID_PREFIX - Static variable in class me.ahoo.cosid.CosId
The prefix used for CosId-related configuration properties.
CosIdAccessor - Interface in me.ahoo.cosid.accessor
CosId accessor for automatic ID injection into objects.
CosIdAccessor.NotFound - Class in me.ahoo.cosid.accessor
Sentinel implementation representing a "not found" accessor.
cosIdAccessorParser(FieldDefinitionParser) - Method in class me.ahoo.cosid.spring.boot.starter.CosIdAutoConfiguration
Provides the default CosId accessor parser for runtime field access.
CosIdAccessorParser - Interface in me.ahoo.cosid.accessor.parser
Parser for creating CosIdAccessor from classes.
cosIdAccessorRegistry(CosIdAccessorParser) - Method in class me.ahoo.cosid.spring.boot.starter.CosIdAutoConfiguration
Provides the default CosId accessor registry for managing field accessors.
CosIdAccessorRegistry - Interface in me.ahoo.cosid.accessor.registry
Registry for managing CosIdAccessor instances.
CosIdAutoConfiguration - Class in me.ahoo.cosid.spring.boot.starter
Main auto-configuration class for CosId, providing core beans for ID generation and accessor management.
CosIdAutoConfiguration() - Constructor for class me.ahoo.cosid.spring.boot.starter.CosIdAutoConfiguration
 
cosIdBeforeConvertCallback(CosIdAccessorRegistry) - Method in class me.ahoo.cosid.spring.boot.starter.jdbc.CosIdJdbcAutoConfiguration
 
CosIdBeforeConvertCallback - Class in me.ahoo.cosid.spring.data.jdbc
 
CosIdBeforeConvertCallback(CosIdAccessorRegistry) - Constructor for class me.ahoo.cosid.spring.data.jdbc.CosIdBeforeConvertCallback
 
cosidCuratorFramework(CosIdZookeeperProperties, RetryPolicy) - Method in class me.ahoo.cosid.spring.boot.starter.zookeeper.CosIdZookeeperAutoConfiguration
 
cosIdEndpoint(IdGeneratorProvider) - Method in class me.ahoo.cosid.spring.boot.starter.actuate.CosIdEndpointAutoConfiguration
 
CosIdEndpoint - Class in me.ahoo.cosid.spring.boot.starter.actuate
 
CosIdEndpoint(IdGeneratorProvider) - Constructor for class me.ahoo.cosid.spring.boot.starter.actuate.CosIdEndpoint
 
CosIdEndpointAutoConfiguration - Class in me.ahoo.cosid.spring.boot.starter.actuate
 
CosIdEndpointAutoConfiguration() - Constructor for class me.ahoo.cosid.spring.boot.starter.actuate.CosIdEndpointAutoConfiguration
 
CosIdException - Exception in me.ahoo.cosid
CosId root exception for all CosId-related errors.
CosIdException() - Constructor for exception me.ahoo.cosid.CosIdException
Constructs a new CosId exception with no detail message.
CosIdException(String) - Constructor for exception me.ahoo.cosid.CosIdException
Constructs a new CosId exception with the specified detail message.
CosIdException(String, Throwable) - Constructor for exception me.ahoo.cosid.CosIdException
Constructs a new CosId exception with the specified detail message and cause.
CosIdException(String, Throwable, boolean, boolean) - Constructor for exception me.ahoo.cosid.CosIdException
Constructs a new CosId exception with the specified detail message, cause, suppression enabled or disabled, and writable stack trace enabled or disabled.
CosIdException(Throwable) - Constructor for exception me.ahoo.cosid.CosIdException
Constructs a new CosId exception with the specified cause.
cosIdGenerator(GuardDistribute, InstanceId, IdGeneratorProvider, ClockBackwardsSynchronizer) - Method in class me.ahoo.cosid.spring.boot.starter.cosid.CosIdGeneratorAutoConfiguration
Creates and configures the primary CosId generator bean.
CosIdGenerator - Interface in me.ahoo.cosid.cosid
CosId algorithm ID generator.
CosIdGeneratorAutoConfiguration - Class in me.ahoo.cosid.spring.boot.starter.cosid
Auto-configuration class for CosId generators in Spring Boot applications.
CosIdGeneratorAutoConfiguration(CosIdProperties, MachineProperties, CosIdGeneratorProperties) - Constructor for class me.ahoo.cosid.spring.boot.starter.cosid.CosIdGeneratorAutoConfiguration
Constructs a new CosIdGeneratorAutoConfiguration with the required properties.
cosIdGeneratorEndpoint(IdGeneratorProvider) - Method in class me.ahoo.cosid.spring.boot.starter.actuate.CosIdEndpointAutoConfiguration
 
CosIdGeneratorEndpoint - Class in me.ahoo.cosid.spring.boot.starter.actuate
 
CosIdGeneratorEndpoint(IdGeneratorProvider) - Constructor for class me.ahoo.cosid.spring.boot.starter.actuate.CosIdGeneratorEndpoint
 
CosIdGeneratorProperties - Class in me.ahoo.cosid.spring.boot.starter.cosid
Configuration properties for CosId generators in Spring Boot applications.
CosIdGeneratorProperties() - Constructor for class me.ahoo.cosid.spring.boot.starter.cosid.CosIdGeneratorProperties
 
CosIdGeneratorProperties.Type - Enum Class in me.ahoo.cosid.spring.boot.starter.cosid
Enumeration of supported CosId generator types.
CosIdGeneratorStat - Class in me.ahoo.cosid.stat.generator
CosId generator stat with machine and timestamp info.
CosIdGeneratorStat() - Constructor for class me.ahoo.cosid.stat.generator.CosIdGeneratorStat
 
CosIdGetter - Interface in me.ahoo.cosid.accessor
Interface for getting the ID value from an object.
CosIdHostNameAutoConfiguration - Class in me.ahoo.cosid.spring.boot.starter.machine
 
CosIdHostNameAutoConfiguration() - Constructor for class me.ahoo.cosid.spring.boot.starter.machine.CosIdHostNameAutoConfiguration
 
CosIdIdentifierFactory - Class in me.ahoo.cosid.axon
CosId Identifier Factory .
CosIdIdentifierFactory() - Constructor for class me.ahoo.cosid.axon.CosIdIdentifierFactory
 
CosIdIdStateParser - Interface in me.ahoo.cosid.cosid
Parser for converting CosIdState to String and vice versa.
CosIdJdbcAutoConfiguration - Class in me.ahoo.cosid.spring.boot.starter.jdbc
CosId Mybatis AutoConfiguration.
CosIdJdbcAutoConfiguration() - Constructor for class me.ahoo.cosid.spring.boot.starter.jdbc.CosIdJdbcAutoConfiguration
 
CosIdJdbcMachineIdDistributorAutoConfiguration - Class in me.ahoo.cosid.spring.boot.starter.machine
CosId Jdbc MachineIdDistributor AutoConfiguration.
CosIdJdbcMachineIdDistributorAutoConfiguration() - Constructor for class me.ahoo.cosid.spring.boot.starter.machine.CosIdJdbcMachineIdDistributorAutoConfiguration
 
CosIdJdbcSegmentAutoConfiguration - Class in me.ahoo.cosid.spring.boot.starter.segment
CosId Jdbc Segment AutoConfiguration.
CosIdJdbcSegmentAutoConfiguration(SegmentIdProperties) - Constructor for class me.ahoo.cosid.spring.boot.starter.segment.CosIdJdbcSegmentAutoConfiguration
 
CosIdLifecyclePrefetchWorkerExecutorService - Class in me.ahoo.cosid.spring.boot.starter.segment
CosId Lifecycle Prefetch Worker Executor Service.
CosIdLifecyclePrefetchWorkerExecutorService(PrefetchWorkerExecutorService) - Constructor for class me.ahoo.cosid.spring.boot.starter.segment.CosIdLifecyclePrefetchWorkerExecutorService
 
CosIdMachineAutoConfiguration - Class in me.ahoo.cosid.spring.boot.starter.machine
Auto-configuration for CosId machine ID management components.
CosIdMachineAutoConfiguration(CosIdProperties, MachineProperties) - Constructor for class me.ahoo.cosid.spring.boot.starter.machine.CosIdMachineAutoConfiguration
Constructs a new machine auto-configuration with the provided properties.
cosIdMachineIdLifecycle(MachineIdGuarder, MachineIdDistributor) - Method in class me.ahoo.cosid.spring.boot.starter.machine.CosIdMachineAutoConfiguration
 
CosIdMachineIdLifecycle - Class in me.ahoo.cosid.spring.boot.starter.machine
 
CosIdMachineIdLifecycle(MachineIdGuarder, MachineIdDistributor) - Constructor for class me.ahoo.cosid.spring.boot.starter.machine.CosIdMachineIdLifecycle
 
CosIdMongoMachineIdDistributorAutoConfiguration - Class in me.ahoo.cosid.spring.boot.starter.machine
CosId Mongo MachineIdDistributor AutoConfiguration.
CosIdMongoMachineIdDistributorAutoConfiguration(MachineProperties) - Constructor for class me.ahoo.cosid.spring.boot.starter.machine.CosIdMongoMachineIdDistributorAutoConfiguration
 
CosIdMongoSegmentAutoConfiguration - Class in me.ahoo.cosid.spring.boot.starter.segment
CosId Redis Segment AutoConfiguration.
CosIdMongoSegmentAutoConfiguration(SegmentIdProperties) - Constructor for class me.ahoo.cosid.spring.boot.starter.segment.CosIdMongoSegmentAutoConfiguration
 
CosIdMybatisAutoConfiguration - Class in me.ahoo.cosid.spring.boot.starter.mybatis
CosId Mybatis AutoConfiguration.
CosIdMybatisAutoConfiguration() - Constructor for class me.ahoo.cosid.spring.boot.starter.mybatis.CosIdMybatisAutoConfiguration
 
cosIdPlugin(CosIdAccessorRegistry) - Method in class me.ahoo.cosid.spring.boot.starter.mybatis.CosIdMybatisAutoConfiguration
 
CosIdPlugin - Class in me.ahoo.cosid.mybatis
CosId Plugin.
CosIdPlugin(CosIdAccessorRegistry) - Constructor for class me.ahoo.cosid.mybatis.CosIdPlugin
 
CosIdPlugin(CosIdAccessorRegistry, String) - Constructor for class me.ahoo.cosid.mybatis.CosIdPlugin
 
CosIdProperties - Class in me.ahoo.cosid.spring.boot.starter
Configuration properties for CosId framework.
CosIdProperties() - Constructor for class me.ahoo.cosid.spring.boot.starter.CosIdProperties
 
CosIdProxyMachineIdDistributorAutoConfiguration - Class in me.ahoo.cosid.spring.boot.starter.machine
CosId Spring Redis MachineIdDistributor AutoConfiguration.
CosIdProxyMachineIdDistributorAutoConfiguration() - Constructor for class me.ahoo.cosid.spring.boot.starter.machine.CosIdProxyMachineIdDistributorAutoConfiguration
 
CosIdProxySegmentAutoConfiguration - Class in me.ahoo.cosid.spring.boot.starter.segment
CosId Jdbc Segment AutoConfiguration.
CosIdProxySegmentAutoConfiguration() - Constructor for class me.ahoo.cosid.spring.boot.starter.segment.CosIdProxySegmentAutoConfiguration
 
cosIdRetryPolicy(CosIdZookeeperProperties) - Method in class me.ahoo.cosid.spring.boot.starter.zookeeper.CosIdZookeeperAutoConfiguration
 
CosIdScanner - Interface in me.ahoo.cosid.accessor.scanner
Scans packages and registers qualified classes to CosIdAccessorRegistry.
CosIdSegmentAutoConfiguration - Class in me.ahoo.cosid.spring.boot.starter.segment
CosId Segment AutoConfiguration.
CosIdSegmentAutoConfiguration(CosIdProperties, SegmentIdProperties) - Constructor for class me.ahoo.cosid.spring.boot.starter.segment.CosIdSegmentAutoConfiguration
 
CosIdSetter - Interface in me.ahoo.cosid.accessor
Interface for setting the ID value on an object.
CosIdSnowflakeAutoConfiguration - Class in me.ahoo.cosid.spring.boot.starter.snowflake
CosId Snowflake AutoConfiguration.
CosIdSnowflakeAutoConfiguration(CosIdProperties, MachineProperties, SnowflakeIdProperties) - Constructor for class me.ahoo.cosid.spring.boot.starter.snowflake.CosIdSnowflakeAutoConfiguration
 
CosIdSpringRedisMachineIdDistributorAutoConfiguration - Class in me.ahoo.cosid.spring.boot.starter.machine
CosId Spring Redis MachineIdDistributor AutoConfiguration.
CosIdSpringRedisMachineIdDistributorAutoConfiguration() - Constructor for class me.ahoo.cosid.spring.boot.starter.machine.CosIdSpringRedisMachineIdDistributorAutoConfiguration
 
CosIdSpringRedisSegmentAutoConfiguration - Class in me.ahoo.cosid.spring.boot.starter.segment
CosId Spring Redis Segment AutoConfiguration.
CosIdSpringRedisSegmentAutoConfiguration() - Constructor for class me.ahoo.cosid.spring.boot.starter.segment.CosIdSpringRedisSegmentAutoConfiguration
 
CosIdState - Class in me.ahoo.cosid.cosid
Immutable state representing a CosId's decomposed components.
CosIdState(long, int, int) - Constructor for class me.ahoo.cosid.cosid.CosIdState
Creates a new CosIdState.
cosIdStringGeneratorEndpoint(IdGeneratorProvider) - Method in class me.ahoo.cosid.spring.boot.starter.actuate.CosIdEndpointAutoConfiguration
 
CosIdStringGeneratorEndpoint - Class in me.ahoo.cosid.spring.boot.starter.actuate
 
CosIdStringGeneratorEndpoint(IdGeneratorProvider) - Constructor for class me.ahoo.cosid.spring.boot.starter.actuate.CosIdStringGeneratorEndpoint
 
CosIdZookeeperAutoConfiguration - Class in me.ahoo.cosid.spring.boot.starter.zookeeper
CosId Zookeeper Auto Configuration.
CosIdZookeeperAutoConfiguration() - Constructor for class me.ahoo.cosid.spring.boot.starter.zookeeper.CosIdZookeeperAutoConfiguration
 
CosIdZookeeperMachineIdDistributorAutoConfiguration - Class in me.ahoo.cosid.spring.boot.starter.machine
CosId Zookeeper MachineIdDistributor AutoConfiguration.
CosIdZookeeperMachineIdDistributorAutoConfiguration() - Constructor for class me.ahoo.cosid.spring.boot.starter.machine.CosIdZookeeperMachineIdDistributorAutoConfiguration
 
CosIdZookeeperProperties - Class in me.ahoo.cosid.spring.boot.starter.zookeeper
CosId Zookeeper Properties.
CosIdZookeeperProperties() - Constructor for class me.ahoo.cosid.spring.boot.starter.zookeeper.CosIdZookeeperProperties
 
CosIdZookeeperProperties.Retry - Class in me.ahoo.cosid.spring.boot.starter.zookeeper
 
CosIdZookeeperSegmentAutoConfiguration - Class in me.ahoo.cosid.spring.boot.starter.segment
CosId Zookeeper Segment AutoConfiguration.
CosIdZookeeperSegmentAutoConfiguration() - Constructor for class me.ahoo.cosid.spring.boot.starter.segment.CosIdZookeeperSegmentAutoConfiguration
 
create(IdSegmentDistributorDefinition) - Method in class me.ahoo.cosid.jdbc.JdbcIdSegmentDistributorFactory
 
create(IdSegmentDistributorDefinition) - Method in class me.ahoo.cosid.mongo.MongoIdSegmentDistributorFactory
 
create(IdSegmentDistributorDefinition) - Method in class me.ahoo.cosid.mongo.reactive.MongoReactiveIdSegmentDistributorFactory
 
create(IdSegmentDistributorDefinition) - Method in class me.ahoo.cosid.proxy.ProxyIdSegmentDistributorFactory
 
create(IdSegmentDistributorDefinition) - Method in class me.ahoo.cosid.segment.grouped.GroupedIdSegmentDistributorFactory
 
create(IdSegmentDistributorDefinition) - Method in interface me.ahoo.cosid.segment.IdSegmentDistributorFactory
Creates an ID segment distributor from a definition.
create(IdSegmentDistributorDefinition) - Method in class me.ahoo.cosid.spring.redis.SpringRedisIdSegmentDistributorFactory
 
create(IdSegmentDistributorDefinition) - Method in class me.ahoo.cosid.zookeeper.ZookeeperIdSegmentDistributorFactory
 
createContextual(DeserializationContext, BeanProperty) - Method in class me.ahoo.cosid.jackson.AsStringDeserializer
 
createContextual(SerializationContext, BeanProperty) - Method in class me.ahoo.cosid.jackson.AsStringSerializer
 
createDistributor(String, String, long, long) - Method in interface me.ahoo.cosid.proxy.api.SegmentApi
 
current() - Method in class me.ahoo.cosid.segment.DefaultSegmentId
 
current() - Method in class me.ahoo.cosid.segment.SegmentChainId
Get the current ID segment (the head of the chain).
current() - Method in interface me.ahoo.cosid.segment.SegmentId
Get the current ID segment being used for generation.
current() - Method in class me.ahoo.cosid.segment.StringSegmentId
 
CURRENT - Enum constant in enum class me.ahoo.cosid.util.ProcessId
Singleton instance for current process.
Custom() - Constructor for class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition.Custom
 
CUSTOM - Enum constant in enum class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition.Type
Custom converter implementation specified by class.
customize(P) - Method in interface me.ahoo.cosid.spring.boot.starter.CustomizeIdProperties
 
CustomizeIdProperties<P> - Interface in me.ahoo.cosid.spring.boot.starter
 
CustomizeSegmentIdProperties - Interface in me.ahoo.cosid.spring.boot.starter.segment
 
CustomizeSnowflakeIdProperties - Interface in me.ahoo.cosid.spring.boot.starter.snowflake
 

D

DATE_TIME_FORMATTER - Static variable in class me.ahoo.cosid.cosid.FriendlyIdStateParser
DateTimeFormatter for parsing/generating timestamp strings.
DATE_TIME_FORMATTER - Static variable in class me.ahoo.cosid.snowflake.MillisecondSnowflakeIdStateParser
DateTimeFormatter for timestamps: yyyyMMddHHmmssSSS.
DATE_TIME_FORMATTER - Static variable in class me.ahoo.cosid.snowflake.SecondSnowflakeIdStateParser
DateTimeFormatter for timestamps: yyyyMMddHHmmss.
DatePrefix() - Constructor for class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition.DatePrefix
 
DatePrefixConverterStat - Class in me.ahoo.cosid.stat.converter
Date prefix converter stat with pattern configuration.
DatePrefixConverterStat() - Constructor for class me.ahoo.cosid.stat.converter.DatePrefixConverterStat
 
DatePrefixIdConverter - Class in me.ahoo.cosid.converter
ID converter that prepends a date prefix to the ID string.
DatePrefixIdConverter(String, String, IdConverter) - Constructor for class me.ahoo.cosid.converter.DatePrefixIdConverter
Creates a new DatePrefixIdConverter.
DECIMAL_RADIX - Static variable in class me.ahoo.cosid.cosid.FriendlyIdStateParser
Decimal radix for character size calculation.
decorate() - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDecorator
 
Decorator<D> - Interface in me.ahoo.cosid
Decorator pattern interface for wrapping and enhancing ID generators.
DEFAULT - Static variable in class me.ahoo.cosid.cosid.RadixCosIdStateParser
 
DEFAULT - Static variable in interface me.ahoo.cosid.machine.ClockBackwardsSynchronizer
Default synchronizer instance.
DEFAULT - Static variable in class me.ahoo.cosid.segment.concurrent.PrefetchWorkerExecutorService
 
DEFAULT_AMOUNT - Static variable in class me.ahoo.cosid.sharding.IntervalStep
Default amount of 1.
DEFAULT_BROKEN_THRESHOLD - Static variable in class me.ahoo.cosid.machine.DefaultClockBackwardsSynchronizer
 
DEFAULT_DELAY - Static variable in class me.ahoo.cosid.machine.DefaultMachineIdGuarder
 
DEFAULT_DELIMITER - Static variable in class me.ahoo.cosid.converter.GroupedPrefixIdConverter
Default delimiter between group key and ID.
DEFAULT_FIELD - Static variable in annotation interface me.ahoo.cosid.annotation.CosId
Default field name.
DEFAULT_INITIAL_DELAY - Static variable in class me.ahoo.cosid.machine.DefaultMachineIdGuarder
 
DEFAULT_LIST_KEY - Static variable in class me.ahoo.cosid.mybatis.CosIdPlugin
 
DEFAULT_MACHINE_BIT - Static variable in class me.ahoo.cosid.cosid.RadixCosIdGenerator
Default machine ID bits (20 bits).
DEFAULT_MACHINE_BIT - Static variable in class me.ahoo.cosid.snowflake.MillisecondSnowflakeId
The default number of bits used for the machine ID portion (10 bits).
DEFAULT_MACHINE_BIT - Static variable in class me.ahoo.cosid.snowflake.SecondSnowflakeId
Default number of machine ID bits (10 bits).
DEFAULT_NAMESPACE - Static variable in class me.ahoo.cosid.spring.boot.starter.CosIdProperties
Default namespace used when no specific namespace is configured.
DEFAULT_OFFSET - Static variable in interface me.ahoo.cosid.segment.IdSegmentDistributor
The default offset for ID segments.
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
The default safe distance for prefetching segments.
DEFAULT_SEGMENTS - Static variable in interface me.ahoo.cosid.segment.IdSegmentDistributor
The default number of segments to allocate at once.
DEFAULT_SEQUENCE_BIT - Static variable in class me.ahoo.cosid.cosid.RadixCosIdGenerator
Default sequence bits (16 bits, 65536 per millisecond).
DEFAULT_SEQUENCE_BIT - Static variable in class me.ahoo.cosid.snowflake.MillisecondSnowflakeId
The default number of bits used for the sequence portion (12 bits).
DEFAULT_SEQUENCE_BIT - Static variable in class me.ahoo.cosid.snowflake.SecondSnowflakeId
Default number of sequence bits (22 bits).
DEFAULT_SEQUENCE_RESET_THRESHOLD - Static variable in class me.ahoo.cosid.cosid.RadixCosIdGenerator
Default sequence reset threshold (half of max sequence).
DEFAULT_SEQUENCE_RESET_THRESHOLD - Static variable in class me.ahoo.cosid.snowflake.MillisecondSnowflakeId
The default sequence reset threshold (half of the maximum sequence value).
DEFAULT_SEQUENCE_RESET_THRESHOLD - Static variable in class me.ahoo.cosid.snowflake.SecondSnowflakeId
Default sequence reset threshold (half of max sequence).
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 state location in user home directory.
DEFAULT_STEP - Static variable in interface me.ahoo.cosid.segment.IdSegmentDistributor
The default step size for ID segments.
DEFAULT_TIME_OUT - Static variable in class me.ahoo.cosid.mongo.reactive.BlockingAdapter
 
DEFAULT_TIMESTAMP_BIT - Static variable in class me.ahoo.cosid.cosid.RadixCosIdGenerator
Default timestamp bits (44 bits, ~556 years at millisecond precision).
DEFAULT_TIMESTAMP_BIT - Static variable in class me.ahoo.cosid.snowflake.MillisecondSnowflakeId
The default number of bits used for the timestamp portion (41 bits).
DEFAULT_TIMESTAMP_BIT - Static variable in class me.ahoo.cosid.snowflake.SecondSnowflakeId
Default number of timestamp bits (31 bits).
DEFAULT_WAIT - Static variable in class me.ahoo.cosid.test.ModSpec
 
DefaultAccessorParser - Class in me.ahoo.cosid.accessor.parser
Default implementation of CosIdAccessorParser.
DefaultAccessorParser(FieldDefinitionParser) - Constructor for class me.ahoo.cosid.accessor.parser.DefaultAccessorParser
Creates a parser with the specified definition parser.
DefaultAccessorRegistry - Class in me.ahoo.cosid.accessor.registry
Default implementation of CosIdAccessorRegistry.
DefaultAccessorRegistry(CosIdAccessorParser) - Constructor for class me.ahoo.cosid.accessor.registry.DefaultAccessorRegistry
Creates a registry with the specified parser.
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
Creates a new accessor.
DefaultCosIdAccessor.EnsureIntegerId - Class in me.ahoo.cosid.accessor
Ensures ID is generated for Integer ID types.
DefaultCosIdAccessor.EnsureLongId - Class in me.ahoo.cosid.accessor
Ensures ID is generated for Long ID types.
DefaultCosIdAccessor.EnsureStringId - Class in me.ahoo.cosid.accessor
Ensures ID is generated for String ID types.
DefaultCosIdScanner - Class in me.ahoo.cosid.accessor.scanner
Default implementation of CosIdScanner.
DefaultCosIdScanner(String[], CosIdAccessorParser, CosIdAccessorRegistry) - Constructor for class me.ahoo.cosid.accessor.scanner.DefaultCosIdScanner
Creates a scanner with accessor parser.
DefaultCosIdScanner(String[], FieldDefinitionParser, CosIdAccessorRegistry) - Constructor for class me.ahoo.cosid.accessor.scanner.DefaultCosIdScanner
Creates a scanner with field definition parser.
DefaultGroupedIdSegmentDistributor - Class in me.ahoo.cosid.segment.grouped
Default grouped ID segment distributor implementation.
DefaultGroupedIdSegmentDistributor(GroupBySupplier, IdSegmentDistributorDefinition, IdSegmentDistributorFactory) - Constructor for class me.ahoo.cosid.segment.grouped.DefaultGroupedIdSegmentDistributor
Creates a grouped distributor.
DefaultGroupedIdSegmentDistributor.GroupedBinding - Class in me.ahoo.cosid.segment.grouped
Holds a group binding with its distributor.
DefaultIdGeneratorProvider - Class in me.ahoo.cosid.provider
Default IdGeneratorProvider implementation.
DefaultIdGeneratorProvider() - Constructor for class me.ahoo.cosid.provider.DefaultIdGeneratorProvider
Creates a new instance with an empty registry.
DefaultIdSegment - Class in me.ahoo.cosid.segment
Default implementation of an ID segment.
DefaultIdSegment(long, long) - Constructor for class me.ahoo.cosid.segment.DefaultIdSegment
Create a new DefaultIdSegment with default configuration.
DefaultIdSegment(long, long, long, long, GroupedKey) - Constructor for class me.ahoo.cosid.segment.DefaultIdSegment
Create a new DefaultIdSegment with full custom configuration.
DefaultMachineIdGuarder - Class in me.ahoo.cosid.machine
Default MachineId Guarder implementation.
DefaultMachineIdGuarder(MachineIdDistributor, Duration) - Constructor for class me.ahoo.cosid.machine.DefaultMachineIdGuarder
Constructs a DefaultMachineIdGuarder with default scheduling parameters.
DefaultMachineIdGuarder(MachineIdDistributor, ScheduledExecutorService, Duration, Duration, Duration) - Constructor for class me.ahoo.cosid.machine.DefaultMachineIdGuarder
Constructs a DefaultMachineIdGuarder with custom scheduling parameters.
DefaultPrefetchWorker - Class in me.ahoo.cosid.segment.concurrent
Default prefetch worker implementation.
DefaultPrefetchWorker(Duration) - Constructor for class me.ahoo.cosid.segment.concurrent.DefaultPrefetchWorker
Creates a worker with specified prefetch period.
DefaultSegmentId - Class in me.ahoo.cosid.segment
Default segment algorithm ID generator.
DefaultSegmentId(long, IdSegmentDistributor) - Constructor for class me.ahoo.cosid.segment.DefaultSegmentId
Creates a generator with specified segment TTL.
DefaultSegmentId(IdSegmentDistributor) - Constructor for class me.ahoo.cosid.segment.DefaultSegmentId
Creates a generator with infinite segment TTL.
defaultSequenceResetThreshold(int) - Static method in interface me.ahoo.cosid.snowflake.SnowflakeId
Calculate the default sequence reset threshold.
DefaultSnowflakeFriendlyId - Class in me.ahoo.cosid.snowflake
Default implementation of SnowflakeFriendlyId.
DefaultSnowflakeFriendlyId(SnowflakeId) - Constructor for class me.ahoo.cosid.snowflake.DefaultSnowflakeFriendlyId
Creates an instance with system default zone.
DefaultSnowflakeFriendlyId(SnowflakeId, ZoneId) - Constructor for class me.ahoo.cosid.snowflake.DefaultSnowflakeFriendlyId
Creates an instance with specified zone.
DefaultSnowflakeFriendlyId(SnowflakeId, IdConverter, SnowflakeIdStateParser) - Constructor for class me.ahoo.cosid.snowflake.DefaultSnowflakeFriendlyId
Creates an instance with specified converter and parser.
DefaultSnowflakeFriendlyId(SnowflakeId, SnowflakeIdStateParser) - Constructor for class me.ahoo.cosid.snowflake.DefaultSnowflakeFriendlyId
Creates an instance with specified parser.
definitionAsAccessor(IdDefinition) - Method in class me.ahoo.cosid.accessor.parser.DefaultAccessorParser
 
DELIMITER - Static variable in class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
Delimiter used in friendly ID format.
deserialize(String, Class<T>) - Static method in class me.ahoo.cosid.proxy.Jsons
 
deserialize(JsonParser, DeserializationContext) - Method in class me.ahoo.cosid.jackson.AsStringDeserializer
 
distribute() - Method in class me.ahoo.cosid.test.machine.distributor.MachineIdDistributorSpec
 
distribute(String, int, String, boolean, String) - Method in interface me.ahoo.cosid.proxy.api.MachineApi
 
distribute(String, int, String, boolean, String) - Method in interface me.ahoo.cosid.proxy.api.MachineClient
 
distribute(String, int, InstanceId) - Method in interface me.ahoo.cosid.mongo.MachineCollection
 
distribute(String, int, InstanceId) - Method in class me.ahoo.cosid.mongo.MongoMachineCollection
 
distribute(String, int, InstanceId) - Method in class me.ahoo.cosid.mongo.reactive.MongoReactiveMachineCollection
 
distribute(String, int, InstanceId, Duration) - Method in class me.ahoo.cosid.machine.AbstractMachineIdDistributor
1.
distribute(String, int, InstanceId, Duration) - Method in class me.ahoo.cosid.machine.GuardDistribute
 
distribute(String, int, InstanceId, Duration) - Method in interface me.ahoo.cosid.machine.MachineIdDistribute
Distribute (allocate) a machine ID within the specified namespace.
Distribute - Class in me.ahoo.cosid.test.machine.distributor
Distribute .
Distribute(Supplier<MachineIdDistributor>, int) - Constructor for class me.ahoo.cosid.test.machine.distributor.Distribute
 
DISTRIBUTE_TIME_FIELD - Static variable in interface me.ahoo.cosid.mongo.MachineOperates
 
distributeByRecyclable(String, String, InstanceId, Duration) - Method in class me.ahoo.cosid.zookeeper.ZookeeperMachineIdDistributor
 
distributeByRevert(String, InstanceId, Duration) - Method in interface me.ahoo.cosid.mongo.MachineCollection
 
distributeByRevert(String, InstanceId, Duration) - Method in class me.ahoo.cosid.mongo.MongoMachineCollection
 
distributeByRevert(String, InstanceId, Duration) - Method in class me.ahoo.cosid.mongo.reactive.MongoReactiveMachineCollection
 
distributeByRevertFilter(String, InstanceId, Duration) - Static method in interface me.ahoo.cosid.mongo.MachineOperates
 
distributeByRevertUpdate(InstanceId, long) - Static method in interface me.ahoo.cosid.mongo.MachineOperates
 
distributeBySelf(String, InstanceId, Duration) - Method in interface me.ahoo.cosid.mongo.MachineCollection
 
distributeBySelf(String, InstanceId, Duration) - Method in class me.ahoo.cosid.mongo.MongoMachineCollection
 
distributeBySelf(String, InstanceId, Duration) - Method in class me.ahoo.cosid.mongo.reactive.MongoReactiveMachineCollection
 
distributeBySelfFilter(String, InstanceId, Duration) - Static method in interface me.ahoo.cosid.mongo.MachineOperates
 
distributeBySelfUpdate(long) - Static method in interface me.ahoo.cosid.mongo.MachineOperates
 
distributeConcurrent() - Method in class me.ahoo.cosid.test.machine.distributor.MachineIdDistributorSpec
 
DistributeConcurrent - Class in me.ahoo.cosid.test.machine.distributor
DistributeConcurrent .
DistributeConcurrent(Supplier<MachineIdDistributor>, int) - Constructor for class me.ahoo.cosid.test.machine.distributor.DistributeConcurrent
 
distributeDocument(String, InstanceId, MachineState) - Static method in interface me.ahoo.cosid.mongo.MachineOperates
 
distributeIdempotent() - Method in class me.ahoo.cosid.test.machine.distributor.MachineIdDistributorSpec
 
DistributeIdempotent - Class in me.ahoo.cosid.test.machine.distributor
DistributeIdempotent .
DistributeIdempotent(Supplier<MachineIdDistributor>, int, Duration) - Constructor for class me.ahoo.cosid.test.machine.distributor.DistributeIdempotent
 
distributeOverflow() - Method in class me.ahoo.cosid.test.machine.distributor.MachineIdDistributorSpec
 
DistributeOverflow - Class in me.ahoo.cosid.test.machine.distributor
DistributeOverflow .
DistributeOverflow(Supplier<MachineIdDistributor>, int) - Constructor for class me.ahoo.cosid.test.machine.distributor.DistributeOverflow
 
distributeRemote(String, int, InstanceId, Duration) - Method in class me.ahoo.cosid.jdbc.JdbcMachineIdDistributor
 
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
 
distributeRemote(String, int, InstanceId, Duration) - Method in class me.ahoo.cosid.mongo.MongoMachineIdDistributor
 
distributeRemote(String, int, InstanceId, Duration) - Method in class me.ahoo.cosid.proxy.ProxyMachineIdDistributor
 
distributeRemote(String, int, InstanceId, Duration) - Method in class me.ahoo.cosid.spring.redis.SpringRedisMachineIdDistributor
 
distributeRemote(String, int, InstanceId, Duration) - Method in class me.ahoo.cosid.zookeeper.ZookeeperMachineIdDistributor
 
distributeRevert() - Method in class me.ahoo.cosid.test.machine.distributor.MachineIdDistributorSpec
 
DistributeRevert - Class in me.ahoo.cosid.test.machine.distributor
DistributeRevert .
DistributeRevert(Supplier<MachineIdDistributor>, int) - Constructor for class me.ahoo.cosid.test.machine.distributor.DistributeRevert
 
distributeSafeGuard() - Method in class me.ahoo.cosid.test.machine.distributor.MachineIdDistributorSpec
 
DistributeSafeGuard - Class in me.ahoo.cosid.test.machine.distributor
DistributeSafeGuard .
DistributeSafeGuard(Supplier<MachineIdDistributor>, int, Duration) - Constructor for class me.ahoo.cosid.test.machine.distributor.DistributeSafeGuard
 
distributeStable() - Method in class me.ahoo.cosid.test.machine.distributor.MachineIdDistributorSpec
 
DistributeStable - Class in me.ahoo.cosid.test.machine.distributor
DistributeStable .
DistributeStable(Supplier<MachineIdDistributor>, int) - Constructor for class me.ahoo.cosid.test.machine.distributor.DistributeStable
 
Distributor() - Constructor for class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.Distributor
Constructs a new Distributor configuration with default Redis and Mongo settings.
Distributor() - Constructor for class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Distributor
 
Documents - Interface in me.ahoo.cosid.mongo
 

E

empty() - Static method in class me.ahoo.cosid.sharding.ExactCollection
 
ENABLED_KEY - Static variable in annotation interface me.ahoo.cosid.spring.boot.starter.ConditionalOnCosIdEnabled
The configuration property key used to enable/disable CosId.
ENABLED_KEY - Static variable in annotation interface me.ahoo.cosid.spring.boot.starter.cosid.ConditionalOnCosIdGeneratorEnabled
 
ENABLED_KEY - Static variable in annotation interface me.ahoo.cosid.spring.boot.starter.machine.ConditionalOnCosIdMachineEnabled
 
ENABLED_KEY - Static variable in annotation interface me.ahoo.cosid.spring.boot.starter.segment.ConditionalOnCosIdSegmentEnabled
 
ENABLED_KEY - Static variable in annotation interface me.ahoo.cosid.spring.boot.starter.snowflake.ConditionalOnCosIdSnowflakeEnabled
 
ENABLED_KEY - Static variable in annotation interface me.ahoo.cosid.spring.boot.starter.zookeeper.ConditionalOnCosIdZookeeperEnabled
 
EnabledSuffix - Interface in me.ahoo.cosid.spring.boot.starter
Constants for configuration property enabled suffixes.
engineConfigurationConfigurer() - Method in class me.ahoo.cosid.spring.boot.starter.activiti.ActivitiIdGeneratorAutoConfiguration
 
engineConfigurationConfigurer() - Method in class me.ahoo.cosid.spring.boot.starter.flowable.FlowableIdGeneratorAutoConfiguration
 
ensureAccessible(AccessibleObject) - Static method in interface me.ahoo.cosid.accessor.CosIdAccessor
Ensure that the specified accessible object (field/method) is accessible.
ensureCosIdCollection() - Method in interface me.ahoo.cosid.mongo.IdSegmentInitializer
 
ensureCosIdCollection() - Method in class me.ahoo.cosid.mongo.MongoIdSegmentInitializer
 
ensureCosIdCollection() - Method in class me.ahoo.cosid.mongo.reactive.MongoReactiveIdSegmentInitializer
 
ensureId(Object) - Method in class me.ahoo.cosid.accessor.CosIdAccessor.NotFound
Ensure the target object has an ID (always returns false for 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(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
Ensures the target object has an ID, registering if needed.
EnsureId - Interface in me.ahoo.cosid.accessor
Ensure that the target object has an ID set.
ensureIdSegmentDocument(String, long) - Static method in interface me.ahoo.cosid.mongo.IdSegmentOperates
 
EnsureIntegerId() - Constructor for class me.ahoo.cosid.accessor.DefaultCosIdAccessor.EnsureIntegerId
 
EnsureLongId() - Constructor for class me.ahoo.cosid.accessor.DefaultCosIdAccessor.EnsureLongId
 
ensureMachineCollection() - Method in interface me.ahoo.cosid.mongo.MachineInitializer
 
ensureMachineCollection() - Method in class me.ahoo.cosid.mongo.MongoMachineInitializer
 
ensureMachineCollection() - Method in class me.ahoo.cosid.mongo.reactive.MongoReactiveMachineInitializer
 
ensureNextIdSegment(IdSegment) - Method in interface me.ahoo.cosid.segment.IdSegment
Ensure that the next segment is valid relative to this segment.
ensureSetNext(Function<IdSegmentChain, IdSegmentChain>) - Method in class me.ahoo.cosid.segment.IdSegmentChain
Ensures the next segment is set, retrying until successful.
ensureStep(long) - Static method in interface me.ahoo.cosid.segment.IdSegmentDistributor
Ensure that the specified step size is valid.
EnsureStringId() - Constructor for class me.ahoo.cosid.accessor.DefaultCosIdAccessor.EnsureStringId
 
entries() - Method in class me.ahoo.cosid.provider.DefaultIdGeneratorProvider
 
entries() - Method in interface me.ahoo.cosid.provider.IdGeneratorProvider
Get all registered ID generator entries.
epoch - Variable in class me.ahoo.cosid.snowflake.AbstractSnowflakeId
Epoch timestamp used as the base for time calculations.
epoch - Variable in class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
Epoch timestamp in milliseconds.
epoch() - Element in annotation interface me.ahoo.cosid.jackson.AsString
epoch of SnowflakeId.
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
Check if this machine state is equal to another object.
equals(Object) - Method in class me.ahoo.cosid.machine.NamespacedInstanceId
 
equals(Object) - Method in class me.ahoo.cosid.proxy.api.MachineStateResponse
 
equals(Object) - Method in class me.ahoo.cosid.segment.grouped.GroupedKey
 
equals(Object) - Method in class me.ahoo.cosid.sharding.ExactCollection
 
equals(Object) - Method in class me.ahoo.cosid.snowflake.SnowflakeIdState
 
ErrorResponse - Class in me.ahoo.cosid.proxy.api
Error Response.
ErrorResponse(String, String, List<?>) - Constructor for class me.ahoo.cosid.proxy.api.ErrorResponse
 
ExactCollection<E> - Class in me.ahoo.cosid.sharding
Exact-size collection optimized for known node counts.
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.
execute() - Method in interface me.ahoo.cosid.test.Assert.Executable
 
execute(Assert.Executable) - Static method in class me.ahoo.cosid.test.Assert
 
executorService() - Static method in class me.ahoo.cosid.machine.DefaultMachineIdGuarder
Creates a default scheduled executor service for the guarder.
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
Checks if a machine state exists for a given namespace and instance.

F

factory() - Method in class me.ahoo.cosid.test.segment.distributor.GroupedIdSegmentDistributorSpec
 
factory() - Method in class me.ahoo.cosid.test.segment.distributor.IdSegmentDistributorSpec
 
failed(long, Throwable) - Static method in class me.ahoo.cosid.machine.GuardianState
Creates a failed guardian state.
FETCH_MAX_ID_SQL - Static variable in class me.ahoo.cosid.jdbc.JdbcIdSegmentDistributor
 
field() - Element in annotation interface me.ahoo.cosid.annotation.CosId
Gets the ID field name (for type-level annotation).
FieldDefinitionParser - Interface in me.ahoo.cosid.accessor.parser
Parser for creating IdDefinition from fields.
FieldGetter - Class in me.ahoo.cosid.accessor.field
ID getter that accesses field directly.
FieldGetter(Field) - Constructor for class me.ahoo.cosid.accessor.field.FieldGetter
Creates a getter for the specified field.
FieldSetter - Class in me.ahoo.cosid.accessor.field
ID setter that accesses field directly.
FieldSetter(Field) - Constructor for class me.ahoo.cosid.accessor.field.FieldSetter
Creates a setter for the specified field.
firstNotBlank(String...) - Static method in class me.ahoo.cosid.spring.boot.starter.Namespaces
Returns the first non-blank namespace from the provided arguments.
floorUnit(LocalDateTime) - Method in class me.ahoo.cosid.sharding.IntervalStep
Truncates time to the precision of the unit.
FlowableIdGenerator - Class in me.ahoo.cosid.flowable
Flowable IdGenerator Based on CosId.
FlowableIdGenerator() - Constructor for class me.ahoo.cosid.flowable.FlowableIdGenerator
 
FlowableIdGeneratorAutoConfiguration - Class in me.ahoo.cosid.spring.boot.starter.flowable
Flowable IdGenerator Auto Configuration.
FlowableIdGeneratorAutoConfiguration() - Constructor for class me.ahoo.cosid.spring.boot.starter.flowable.FlowableIdGeneratorAutoConfiguration
 
forever(String) - Static method in class me.ahoo.cosid.segment.grouped.GroupedKey
Creates a GroupedKey that never expires.
FOREVER_SAFE_GUARD_DURATION - Static variable in interface me.ahoo.cosid.machine.MachineIdDistributor
A duration representing forever for safe guard purposes.
formatter - Variable in class me.ahoo.cosid.segment.grouped.date.AbstractDateGroupBySupplier
 
Friendly() - Constructor for class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition.Friendly
 
FRIENDLY - Enum constant in enum class me.ahoo.cosid.spring.boot.starter.cosid.CosIdGeneratorProperties.Type
Friendly generator that produces human-readable IDs with timestamp formatting.
FRIENDLY_ID - Enum constant in enum class me.ahoo.cosid.jackson.AsString.Type
 
FriendlyCosIdGenerator - Class in me.ahoo.cosid.cosid
CosIdGenerator that produces human-readable string IDs.
FriendlyCosIdGenerator(int, int, int, int, int, ZoneId, boolean) - Constructor for class me.ahoo.cosid.cosid.FriendlyCosIdGenerator
Creates a generator with custom bit configuration.
FriendlyCosIdGenerator(int, ZoneId, boolean) - Constructor for class me.ahoo.cosid.cosid.FriendlyCosIdGenerator
Creates a generator with default bit configuration.
friendlyId() - Method in interface me.ahoo.cosid.snowflake.SnowflakeFriendlyId
Generates an ID and returns its friendly state.
friendlyId(long) - Method in interface me.ahoo.cosid.snowflake.SnowflakeFriendlyId
Parses a raw ID to friendly state.
friendlyId(String) - Method in class me.ahoo.cosid.snowflake.SnowflakeIdState.SnowflakeIdStateBuilder
Sets the friendly ID string.
FriendlyIdStateParser - Class in me.ahoo.cosid.cosid
Parser for CosIdState using a human-readable format.
FriendlyIdStateParser(ZoneId, boolean, int, int) - Constructor for class me.ahoo.cosid.cosid.FriendlyIdStateParser
Creates a new FriendlyIdStateParser.
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
Calculates the gap between this chain's sequence and another's max ID.
generate() - Method in interface me.ahoo.cosid.cosid.CosIdGenerator
Generate an ID as a long value (unsupported in CosIdGenerator).
generate() - Method in interface me.ahoo.cosid.IdGenerator
Generate a distributed ID as a long value.
generate() - Method in interface me.ahoo.cosid.IdGeneratorDecorator
Generate a distributed ID by delegating to the actual generator.
generate() - Method in class me.ahoo.cosid.IntegerIdGenerator
Generate a distributed ID as an integer value.
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 a new distributed ID.
generate() - Method in class me.ahoo.cosid.snowflake.AbstractSnowflakeId
Generates the next unique ID.
generate() - Method in class me.ahoo.cosid.snowflake.ClockSyncSnowflakeId
 
generate() - Method in class me.ahoo.cosid.uncertainty.UncertaintyIdGenerator
 
generate(String) - Method in class me.ahoo.cosid.spring.boot.starter.actuate.CosIdGeneratorEndpoint
 
generateAsState() - Method in class me.ahoo.cosid.cosid.ClockSyncCosIdGenerator
 
generateAsState() - Method in interface me.ahoo.cosid.cosid.CosIdGenerator
Generate an ID as a state object.
generateAsState() - Method in class me.ahoo.cosid.cosid.RadixCosIdGenerator
Generates the next ID as a state object.
generateAsString() - Method in interface me.ahoo.cosid.cosid.CosIdGenerator
Generate an ID as a string value.
generateAsString() - Method in interface me.ahoo.cosid.IdGenerator
Generate a distributed ID as a string value.
generateAsString() - Method in class me.ahoo.cosid.IntegerIdGenerator
Generate a distributed ID as a string value.
generateAsString() - Method in class me.ahoo.cosid.jvm.UuidGenerator
 
generateAsString() - Method in interface me.ahoo.cosid.StringIdGenerator
Generate a distributed ID as a string value.
generateAsString(String) - Method in class me.ahoo.cosid.spring.boot.starter.actuate.CosIdStringGeneratorEndpoint
 
generateConcurrent() - Method in class me.ahoo.cosid.test.segment.distributor.IdSegmentDistributorSpec
 
generateConcurrentOfChain() - Method in class me.ahoo.cosid.test.segment.distributor.IdSegmentDistributorSpec
 
generateIdentifier() - Method in class me.ahoo.cosid.axon.CosIdIdentifierFactory
 
generateMultiInstanceConcurrent() - Method in class me.ahoo.cosid.test.segment.distributor.IdSegmentDistributorSpec
 
get() - Method in class me.ahoo.cosid.segment.grouped.date.AbstractDateGroupBySupplier
 
get() - Static method in class me.ahoo.cosid.segment.grouped.GroupedAccessor
Gets the grouped key for the current thread.
get(int) - Method in class me.ahoo.cosid.sharding.ExactCollection
 
get(Class<?>) - Method in interface me.ahoo.cosid.accessor.registry.CosIdAccessorRegistry
Gets the accessor for a class.
get(Class<?>) - Method in class me.ahoo.cosid.accessor.registry.DefaultAccessorRegistry
 
get(String) - Method in class me.ahoo.cosid.provider.DefaultIdGeneratorProvider
 
get(String) - Method in interface me.ahoo.cosid.provider.IdGeneratorProvider
Get an ID generator by its name.
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
Gets the machine state for a given namespace and instance.
GET_PREFIX - Static variable in class me.ahoo.cosid.accessor.parser.DefaultAccessorParser
 
getActual() - Method in class me.ahoo.cosid.converter.DatePrefixIdConverter
 
getActual() - Method in class me.ahoo.cosid.converter.GroupedPrefixIdConverter
 
getActual() - Method in class me.ahoo.cosid.converter.PrefixIdConverter
 
getActual() - Method in class me.ahoo.cosid.converter.SuffixIdConverter
 
getActual() - Method in class me.ahoo.cosid.cosid.ClockSyncCosIdGenerator
 
getActual() - Method in interface me.ahoo.cosid.Decorator
Get the actual (wrapped) object that this decorator is enhancing.
getActual() - Method in interface me.ahoo.cosid.IdGeneratorDecorator
Get the actual (wrapped) ID generator that this decorator is enhancing.
getActual() - Method in class me.ahoo.cosid.provider.LazyIdGenerator
 
getActual() - Method in class me.ahoo.cosid.snowflake.ClockSyncSnowflakeId
 
getActual() - Method in interface me.ahoo.cosid.stat.generator.IdGeneratorStat
 
getActual() - Method in interface me.ahoo.cosid.stat.Stat
Gets the wrapped actual stat.
getActual() - Method in class me.ahoo.cosid.StringIdGeneratorDecorator
Get the actual (wrapped) ID generator that this decorator is enhancing.
getActual() - Method in class me.ahoo.cosid.uncertainty.UncertaintyIdGenerator
 
getActual(D) - Static method in interface me.ahoo.cosid.Decorator
Recursively get the actual object from a potentially nested decorator chain.
getActual(T) - Static method in interface me.ahoo.cosid.IdGeneratorDecorator
Recursively get the actual ID generator from a potentially nested decorator chain.
getAdderKey() - Method in class me.ahoo.cosid.spring.redis.SpringRedisIdSegmentDistributor
 
getAll() - Method in class me.ahoo.cosid.provider.DefaultIdGeneratorProvider
 
getAll() - Method in interface me.ahoo.cosid.provider.IdGeneratorProvider
Get all registered ID generators.
getAmount() - Method in class me.ahoo.cosid.sharding.IntervalStep
Gets the amount.
getBackwardsTimeStamp(long) - Static method in interface me.ahoo.cosid.machine.ClockBackwardsSynchronizer
Calculates how far backwards the clock has moved.
getBaseSleepTimeMs() - Method in class me.ahoo.cosid.spring.boot.starter.zookeeper.CosIdZookeeperProperties.Retry
 
getBlockUntilConnectedWait() - Method in class me.ahoo.cosid.spring.boot.starter.zookeeper.CosIdZookeeperProperties
 
getBrokenThreshold() - Method in exception me.ahoo.cosid.snowflake.exception.ClockTooManyBackwardsException
Gets the broken threshold.
getBrokenThreshold() - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.ClockBackwards
Gets the broken threshold for clock validation.
getBy() - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.IdDefinition.Group
 
getChain() - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties
Gets the chain configuration.
getChain() - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.IdDefinition
 
getCharSize() - Method in class me.ahoo.cosid.converter.RadixIdConverter
Gets the fixed character size.
getCharSize() - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition.Radix
 
getCharSize() - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition.Radix36
 
getCharSize() - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition.ToString
 
getClockBackwards() - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties
Gets the clock backwards configuration.
getCode() - Method in class me.ahoo.cosid.proxy.api.ErrorResponse
 
getConcurrentThreads() - Method in class me.ahoo.cosid.test.ConcurrentGenerateSpec
 
getConcurrentThreads() - Method in class me.ahoo.cosid.test.ConcurrentGenerateStingSpec
 
getConnectionString() - Static method in class me.ahoo.cosid.test.container.MongoLauncher
 
getConnectionTimeout() - Method in class me.ahoo.cosid.spring.boot.starter.zookeeper.CosIdZookeeperProperties
 
getConnectString() - Method in class me.ahoo.cosid.spring.boot.starter.zookeeper.CosIdZookeeperProperties
 
getConverter() - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.IdDefinition
 
getConverter() - Method in class me.ahoo.cosid.spring.boot.starter.snowflake.SnowflakeIdProperties.IdDefinition
 
getConverter() - Method in interface me.ahoo.cosid.stat.generator.IdGeneratorStat
Gets the converter stat.
getCorePoolSize() - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Chain.PrefetchWorker
Gets the core pool size for the executor.
getCurrent() - Method in exception me.ahoo.cosid.segment.NextIdSegmentExpiredException
Gets the current segment.
getCurrentProcessId() - Static method in enum class me.ahoo.cosid.util.ProcessId
Gets the current process ID.
getCurrentProcessName() - Static method in enum class me.ahoo.cosid.util.ProcessId
Gets the current process name.
getCurrentTime() - Method in class me.ahoo.cosid.snowflake.AbstractSnowflakeId
Gets the current time in the appropriate unit for this snowflake ID variant.
getCurrentTime() - Method in class me.ahoo.cosid.snowflake.MillisecondSnowflakeId
Get the current time in milliseconds.
getCurrentTime() - Method in class me.ahoo.cosid.snowflake.SecondSnowflakeId
 
getCurrentTimestamp() - Method in exception me.ahoo.cosid.snowflake.exception.ClockBackwardsException
Gets the current timestamp.
getCurrentTimestamp() - Method in exception me.ahoo.cosid.snowflake.exception.ClockTooManyBackwardsException
Gets the current timestamp.
getCustom() - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition
Gets the custom converter configuration.
getDatabase() - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.Mongo
Gets the MongoDB database name.
getDatabase() - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Distributor.Mongo
 
getDatePrefix() - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition
Gets the date prefix configuration.
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
Gets the date time formatter for parsing timestamps.
getDeclaringClass() - Method in exception me.ahoo.cosid.accessor.MultipleIdNotSupportException
Gets the declaring class.
getDelay() - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.Guarder
Gets the delay between guarding checks.
getDelimiter() - Method in class me.ahoo.cosid.converter.GroupedPrefixIdConverter
Gets the delimiter.
getDelimiter() - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition.DatePrefix
 
getDelimiter() - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition.GroupPrefix
 
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
Converts a LocalDateTime to time difference from epoch.
getDiffTimestamp() - Method in exception me.ahoo.cosid.snowflake.exception.TimestampOverflowException
Gets the diff timestamp.
getDistributor() - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties
Gets the distributor configuration.
getDistributor() - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties
Gets the distributor configuration.
getDistributor() - Method in class me.ahoo.cosid.test.machine.distributor.MachineIdDistributorSpec
 
getDivisor() - Method in class me.ahoo.cosid.sharding.ModCycle
Gets the divisor.
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
Gets all effective node names.
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
Gets the epoch.
getEpoch() - Method in interface me.ahoo.cosid.snowflake.SnowflakeId
Get the epoch timestamp used as the base for time calculations.
getEpoch() - Method in class me.ahoo.cosid.snowflake.StringSnowflakeId
 
getEpoch() - Method in class me.ahoo.cosid.spring.boot.starter.snowflake.SnowflakeIdProperties
 
getEpoch() - Method in class me.ahoo.cosid.spring.boot.starter.snowflake.SnowflakeIdProperties.IdDefinition
 
getError() - Method in class me.ahoo.cosid.mongo.reactive.BlockingAdapterSubscriber
 
getErrors() - Method in class me.ahoo.cosid.proxy.api.ErrorResponse
 
getFactory() - Method in class me.ahoo.cosid.test.segment.distributor.IdSegmentDistributorSpec
 
getFetchMaxIdSql() - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Distributor.Jdbc
 
getFetchTime() - Method in class me.ahoo.cosid.segment.DefaultIdSegment
Get the time when this segment was fetched.
getFetchTime() - Method in interface me.ahoo.cosid.segment.IdSegment
Get the time when this segment was fetched.
getFetchTime() - Method in class me.ahoo.cosid.segment.IdSegmentChain
 
getFetchTime() - Method in class me.ahoo.cosid.segment.MergedIdSegment
ID segment fetch time.
getFriendly() - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition
Gets the friendly format configuration.
getFriendlyId() - Method in class me.ahoo.cosid.snowflake.SnowflakeIdState
Gets the human-readable form of this ID.
getGeneratorName() - Method in class me.ahoo.cosid.accessor.IdDefinition
Get the name of the ID generator to use for this field.
getGeneratorName() - Method in interface me.ahoo.cosid.accessor.IdMetadata
Gets the generator name from the ID definition.
getGeneratorName() - Method in class me.ahoo.cosid.provider.LazyIdGenerator
Gets the generator name.
getGeneratorName() - Method in exception me.ahoo.cosid.provider.NotFoundIdGeneratorException
Gets the generator name that was not found.
getGetter() - Method in class me.ahoo.cosid.accessor.DefaultCosIdAccessor
Gets the getter.
getGetter() - Method in class me.ahoo.cosid.accessor.method.MethodGetter
Gets the getter method.
getGroup() - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.IdDefinition
 
getGroup() - Method in class me.ahoo.cosid.test.segment.distributor.GroupedIdSegmentDistributorSpec
 
getGroup() - Method in class me.ahoo.cosid.test.segment.distributor.IdSegmentDistributorSpec
 
getGroupPrefix() - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition
Gets the group prefix configuration.
getGuarder() - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties
Gets the guarder configuration.
getGuardianStates() - Method in class me.ahoo.cosid.machine.DefaultMachineIdGuarder
Gets the guardian state for all registered instances.
getGuardianStates() - Method in interface me.ahoo.cosid.machine.MachineIdGuarder
Gets the guardian state for all registered instances.
getGuardianStates() - Method in class me.ahoo.cosid.machine.MachineIdGuarder.None
Gets the guardian state for all registered instances.
getHead() - Method in class me.ahoo.cosid.segment.SegmentChainId
Get the head of the segment chain.
getHost() - Method in class me.ahoo.cosid.spring.boot.starter.ProxyProperties
Gets the proxy server host URL.
getHostAddress() - Method in interface me.ahoo.cosid.machine.HostAddressSupplier
Gets the host address.
getHostAddress() - Method in class me.ahoo.cosid.machine.LocalHostAddressSupplier
 
getId() - Method in exception me.ahoo.cosid.IntegerIdGenerator.IdOverflowException
Get the ID that caused the overflow.
getId() - Method in class me.ahoo.cosid.snowflake.SnowflakeIdState
Gets the raw snowflake ID value.
getId(Object) - Method in class me.ahoo.cosid.accessor.CosIdAccessor.NotFound
Get the ID value from the target object (always returns null for NotFound).
getId(Object) - Method in interface me.ahoo.cosid.accessor.CosIdGetter
Gets the ID value from the target object.
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
 
getIdDeclaringClass() - Method in interface me.ahoo.cosid.accessor.IdMetadata
Gets the declaring class of the ID field.
getIdDefinition() - Method in class me.ahoo.cosid.accessor.AbstractIdMetadata
 
getIdDefinition() - Method in class me.ahoo.cosid.accessor.CosIdAccessor.NotFound
Get the ID definition (always returns null for NotFound).
getIdDefinition() - Method in interface me.ahoo.cosid.accessor.IdMetadata
Gets the ID definition.
getIdField() - Method in class me.ahoo.cosid.accessor.CosIdAccessor.NotFound
Get the ID field (always returns null for NotFound).
getIdField() - Method in class me.ahoo.cosid.accessor.IdDefinition
Get the field that should receive the generated ID.
getIdField() - Method in interface me.ahoo.cosid.accessor.IdMetadata
Gets the ID field from the definition.
getIdField() - Method in exception me.ahoo.cosid.accessor.IdTypeNotSupportException
Gets the unsupported ID field.
getIdGenerator() - Method in class me.ahoo.cosid.accessor.AbstractIdMetadata
 
getIdGenerator() - Method in class me.ahoo.cosid.accessor.CosIdAccessor.NotFound
Get the ID generator (always returns null for NotFound).
getIdGenerator() - Method in interface me.ahoo.cosid.accessor.IdMetadata
Gets the ID generator.
getIdSegment() - Method in class me.ahoo.cosid.segment.IdSegmentChain
Gets the ID segment for this chain.
getIdSize() - Method in class me.ahoo.cosid.test.ConcurrentGenerateSpec
 
getIdSize() - Method in class me.ahoo.cosid.test.ConcurrentGenerateStingSpec
 
getIdType() - Method in class me.ahoo.cosid.accessor.IdDefinition
Get the type of the ID field.
getIdType() - Method in interface me.ahoo.cosid.accessor.IdMetadata
Gets the type of the ID field.
getIncrementMaxIdSql() - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Distributor.Jdbc
 
getInitCosidTableSql() - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Distributor.Jdbc
 
getInitialDelay() - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.Guarder
Gets the initial delay before starting guarding.
getInitIdSegmentSql() - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Distributor.Jdbc
 
getInstanceId() - Method in class me.ahoo.cosid.machine.InstanceId
Gets the instance identifier string.
getInstanceId() - Method in exception me.ahoo.cosid.machine.MachineIdLostException
Gets the instance ID.
getInstanceId() - Method in exception me.ahoo.cosid.machine.MachineIdOverflowException
Gets the instance ID.
getInstanceId() - Method in class me.ahoo.cosid.machine.NamespacedInstanceId
Gets the instance ID.
getInstanceId() - Method in exception me.ahoo.cosid.machine.NotFoundMachineStateException
Gets the instance ID.
getInstanceId() - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties
Gets the unique instance identifier.
getJdbc() - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Distributor
 
getJobId() - Method in interface me.ahoo.cosid.segment.concurrent.AffinityJob
Gets the unique job identifier.
getJobId() - Method in class me.ahoo.cosid.segment.SegmentChainId.PrefetchJob
Get the job ID for this prefetch job.
getKey() - Method in class me.ahoo.cosid.segment.grouped.GroupedKey
Gets the grouping key.
getKind() - Method in interface me.ahoo.cosid.stat.Stat
Gets the kind/type of this stat.
getLastTimestamp() - Method in class me.ahoo.cosid.cosid.ClockSyncCosIdGenerator
 
getLastTimestamp() - Method in interface me.ahoo.cosid.cosid.CosIdGenerator
Get the timestamp of the last ID that was generated.
getLastTimestamp() - Method in class me.ahoo.cosid.cosid.RadixCosIdGenerator
 
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
Gets the last timestamp.
getLastTimestamp() - Method in exception me.ahoo.cosid.snowflake.exception.ClockTooManyBackwardsException
Gets the last timestamp.
getLastTimestamp() - Method in interface me.ahoo.cosid.snowflake.SnowflakeId
Get the timestamp of the last ID that was generated.
getLastTimestamp() - Method in class me.ahoo.cosid.snowflake.StringSnowflakeId
 
getLastTimeStamp() - Method in class me.ahoo.cosid.machine.MachineState
Get the last activity timestamp.
getLocal() - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.StateStorage
Gets the local storage configuration.
getLower() - Method in class me.ahoo.cosid.sharding.IntervalTimeline.Interval
Gets the lower bound.
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
Get the number of bits used for the machine ID portion.
getMachineBit() - Method in class me.ahoo.cosid.snowflake.StringSnowflakeId
 
getMachineBit() - Method in class me.ahoo.cosid.spring.boot.starter.cosid.CosIdGeneratorProperties
Gets the number of bits allocated for machine ID.
getMachineBit() - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties
Gets the number of bits allocated for machine ID.
getMachineBit() - Method in class me.ahoo.cosid.spring.boot.starter.snowflake.SnowflakeIdProperties.IdDefinition
 
getMachineBit() - Method in class me.ahoo.cosid.test.machine.distributor.MachineIdDistributorSpec
 
getMachineCharSize() - Method in class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
Gets the maximum character size for machine ID in decimal representation.
getMachineId() - Method in class me.ahoo.cosid.cosid.ClockSyncCosIdGenerator
 
getMachineId() - Method in interface me.ahoo.cosid.cosid.CosIdGenerator
Get the machine ID assigned to this generator.
getMachineId() - Method in class me.ahoo.cosid.cosid.CosIdState
Gets the machine ID component.
getMachineId() - Method in class me.ahoo.cosid.cosid.RadixCosIdGenerator
 
getMachineId() - Method in class me.ahoo.cosid.machine.MachineId
Gets the machine ID value.
getMachineId() - Method in class me.ahoo.cosid.machine.MachineState
Get the machine ID.
getMachineId() - Method in class me.ahoo.cosid.machine.ManualMachineIdDistributor
Gets the machine ID.
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
Get the machine ID assigned to this generator.
getMachineId() - Method in class me.ahoo.cosid.snowflake.SnowflakeIdState
Gets the machine ID component.
getMachineId() - Method in class me.ahoo.cosid.snowflake.StringSnowflakeId
 
getMachineId() - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.Manual
Gets the manually assigned machine ID.
getMachineState() - Method in exception me.ahoo.cosid.machine.MachineIdLostException
Gets the machine state.
getManual() - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.Distributor
Gets the manual configuration.
getMaxId() - Method in class me.ahoo.cosid.converter.RadixIdConverter
Gets the maximum ID representable with this char size.
getMaxId() - Method in class me.ahoo.cosid.segment.DefaultIdSegment
Get the maximum ID in this segment.
getMaxId() - Method in interface me.ahoo.cosid.segment.IdSegment
Get the maximum ID in this segment.
getMaxId() - Method in class me.ahoo.cosid.segment.IdSegmentChain
 
getMaxId() - Method in class me.ahoo.cosid.segment.MergedIdSegment
 
getMaxMachineId() - Method in class me.ahoo.cosid.snowflake.AbstractSnowflakeId
 
getMaxMachineId() - Method in class me.ahoo.cosid.snowflake.ClockSyncSnowflakeId
 
getMaxMachineId() - Method in interface me.ahoo.cosid.snowflake.SnowflakeId
Get the maximum machine ID value that can be represented.
getMaxMachineId() - Method in class me.ahoo.cosid.snowflake.StringSnowflakeId
 
getMaxRetries() - Method in class me.ahoo.cosid.spring.boot.starter.zookeeper.CosIdZookeeperProperties.Retry
 
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
Get the maximum sequence value that can be represented.
getMaxSequence() - Method in class me.ahoo.cosid.snowflake.StringSnowflakeId
 
getMaxSleepMs() - Method in class me.ahoo.cosid.spring.boot.starter.zookeeper.CosIdZookeeperProperties.Retry
 
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
Gets the max timestamp.
getMaxTimestamp() - Method in interface me.ahoo.cosid.snowflake.SnowflakeId
Get the maximum timestamp value that can be represented.
getMaxTimestamp() - Method in class me.ahoo.cosid.snowflake.StringSnowflakeId
 
getMode() - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties
Gets the mode of segment ID generation.
getMode() - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.IdDefinition
 
getMongo() - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.Distributor
Gets the MongoDB configuration.
getMongo() - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Distributor
 
getMsg() - Method in class me.ahoo.cosid.proxy.api.ErrorResponse
 
getName() - Method in exception me.ahoo.cosid.jdbc.exception.NotFoundMaxIdException
 
getName() - Method in exception me.ahoo.cosid.jdbc.exception.SegmentNameMissingException
 
getName() - Method in class me.ahoo.cosid.jdbc.JdbcIdSegmentDistributor
 
getName() - Method in class me.ahoo.cosid.mongo.MongoIdSegmentDistributor
 
getName() - Method in class me.ahoo.cosid.proxy.ProxyIdSegmentDistributor
 
getName() - Method in interface me.ahoo.cosid.segment.concurrent.PrefetchWorker
Gets the worker name.
getName() - Method in class me.ahoo.cosid.segment.grouped.DefaultGroupedIdSegmentDistributor
 
getName() - Method in class me.ahoo.cosid.segment.grouped.DefaultGroupedIdSegmentDistributor.GroupedBinding
 
getName() - Method in class me.ahoo.cosid.segment.IdSegmentDistributor.Atomic
Get the name for this distributor.
getName() - Method in interface me.ahoo.cosid.segment.IdSegmentDistributor
Get the name for this distributor.
getName() - Method in class me.ahoo.cosid.segment.IdSegmentDistributor.Mock
Get the name for this distributor.
getName() - Method in class me.ahoo.cosid.segment.IdSegmentDistributorDefinition
Gets the segment name.
getName() - Method in class me.ahoo.cosid.spring.redis.SpringRedisIdSegmentDistributor
 
getName() - Method in class me.ahoo.cosid.test.segment.distributor.IdSegmentDistributorSpec
 
getName() - Method in class me.ahoo.cosid.zookeeper.ZookeeperIdSegmentDistributor
 
getNamespace() - Method in class me.ahoo.cosid.jdbc.JdbcIdSegmentDistributor
 
getNamespace() - Method in exception me.ahoo.cosid.machine.MachineIdLostException
Gets the namespace.
getNamespace() - Method in class me.ahoo.cosid.machine.NamespacedInstanceId
Gets the namespace.
getNamespace() - Method in exception me.ahoo.cosid.machine.NotFoundMachineStateException
Gets the namespace.
getNamespace() - Method in class me.ahoo.cosid.mongo.MongoIdSegmentDistributor
 
getNamespace() - Method in class me.ahoo.cosid.proxy.ProxyIdSegmentDistributor
 
getNamespace() - Method in class me.ahoo.cosid.segment.grouped.DefaultGroupedIdSegmentDistributor
 
getNamespace() - Method in class me.ahoo.cosid.segment.grouped.DefaultGroupedIdSegmentDistributor.GroupedBinding
 
getNamespace() - Method in class me.ahoo.cosid.segment.IdSegmentDistributor.Atomic
Get the namespace for this distributor.
getNamespace() - Method in interface me.ahoo.cosid.segment.IdSegmentDistributor
Get the namespace for this distributor.
getNamespace() - Method in class me.ahoo.cosid.segment.IdSegmentDistributor.Mock
Get the namespace for this distributor.
getNamespace() - Method in class me.ahoo.cosid.segment.IdSegmentDistributorDefinition
Gets the namespace.
getNamespace() - Method in class me.ahoo.cosid.spring.boot.starter.cosid.CosIdGeneratorProperties
Gets the namespace for ID generation.
getNamespace() - Method in class me.ahoo.cosid.spring.boot.starter.CosIdProperties
Gets the configured namespace for ID generation.
getNamespace() - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.IdDefinition
 
getNamespace() - Method in class me.ahoo.cosid.spring.boot.starter.snowflake.SnowflakeIdProperties.IdDefinition
 
getNamespace() - Method in class me.ahoo.cosid.spring.redis.SpringRedisIdSegmentDistributor
 
getNamespace() - Method in class me.ahoo.cosid.test.segment.distributor.IdSegmentDistributorSpec
 
getNamespace() - Method in class me.ahoo.cosid.zookeeper.ZookeeperIdSegmentDistributor
 
getNamespacedName() - Method in interface me.ahoo.cosid.segment.IdSegmentDistributor
Get the namespaced name for this distributor.
getNamespacedName() - Method in class me.ahoo.cosid.segment.IdSegmentDistributorDefinition
Gets the full namespaced name.
getNamespacedName() - Method in class me.ahoo.cosid.test.segment.distributor.IdSegmentDistributorSpec
 
getNamespacedName(String, String) - Static method in interface me.ahoo.cosid.segment.IdSegmentDistributor
Create a namespaced name from namespace and name components.
getNext() - Method in class me.ahoo.cosid.segment.IdSegmentChain
Gets the next segment in the chain.
getNext() - Method in exception me.ahoo.cosid.segment.NextIdSegmentExpiredException
Gets the invalid next segment.
getNextId() - Method in class me.ahoo.cosid.activiti.ActivitiIdGenerator
 
getNextId() - Method in class me.ahoo.cosid.flowable.FlowableIdGenerator
 
getNode() - Method in class me.ahoo.cosid.sharding.IntervalTimeline.Interval
Gets the node name.
getOffset() - Method in class me.ahoo.cosid.segment.DefaultIdSegment
Get the offset (starting ID) of this segment.
getOffset() - Method in interface me.ahoo.cosid.segment.IdSegment
Get the offset (starting ID) of this segment.
getOffset() - Method in class me.ahoo.cosid.segment.IdSegmentChain
 
getOffset() - Method in class me.ahoo.cosid.segment.IdSegmentDistributorDefinition
Gets the starting offset.
getOffset() - Method in class me.ahoo.cosid.segment.MergedIdSegment
 
getOffset() - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.IdDefinition
 
getOffset() - Method in class me.ahoo.cosid.spring.redis.SpringRedisIdSegmentDistributor
 
getParser() - Method in class me.ahoo.cosid.converter.SnowflakeFriendlyIdConverter
Gets the parser.
getParser() - Method in class me.ahoo.cosid.snowflake.DefaultSnowflakeFriendlyId
 
getParser() - Method in interface me.ahoo.cosid.snowflake.SnowflakeFriendlyId
Gets the state parser.
getPattern() - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition.DatePrefix
 
getPattern() - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.IdDefinition.Group
 
getPort() - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties
Gets the port number for this instance.
getPrefetchPeriod() - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Chain.PrefetchWorker
Gets the prefetch period.
getPrefetchWorker() - Method in interface me.ahoo.cosid.segment.concurrent.AffinityJob
Gets the prefetch worker for this job.
getPrefetchWorker() - Method in class me.ahoo.cosid.segment.SegmentChainId.PrefetchJob
Get the prefetch worker for this job.
getPrefetchWorker() - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Chain
Gets the prefetch worker configuration.
getPrefix() - Method in class me.ahoo.cosid.converter.PrefixIdConverter
Gets the prefix.
getPrefix() - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition
Gets the static prefix.
getProcessId() - Method in enum class me.ahoo.cosid.util.ProcessId
Gets the process ID.
getProvider() - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties
Gets the map of named ID definitions.
getProvider() - Method in class me.ahoo.cosid.spring.boot.starter.snowflake.SnowflakeIdProperties
 
getProxy() - Method in class me.ahoo.cosid.spring.boot.starter.CosIdProperties
Gets the proxy configuration properties.
getRadix() - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition
Gets the radix62 configuration.
getRadix36() - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition
Gets the radix36 configuration.
getRedis() - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.Distributor
Gets the Redis configuration.
getRedis() - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Distributor
 
getRequired(String) - Method in interface me.ahoo.cosid.provider.IdGeneratorProvider
Get an ID generator by its name, throwing an exception if not found.
getRetry() - Method in class me.ahoo.cosid.spring.boot.starter.zookeeper.CosIdZookeeperProperties
 
getSafeDistance() - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Chain
Gets the safe distance for chain generation.
getSafeGuardAt(Duration, boolean) - Static method in interface me.ahoo.cosid.machine.MachineIdDistributor
Calculate the safe guard timestamp.
getSafeGuardDuration() - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties
Gets the effective safe guard duration based on guarder configuration.
getSafeGuardDuration() - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.Guarder
Gets the safe guard duration.
getSafeGuardDuration() - Method in class me.ahoo.cosid.test.machine.distributor.MachineIdDistributorSpec
 
getSegments() - Method in class me.ahoo.cosid.segment.MergedIdSegment
Gets the number of sub-segments.
getSequence() - Method in class me.ahoo.cosid.cosid.CosIdState
Gets the sequence number component.
getSequence() - Method in class me.ahoo.cosid.segment.DefaultIdSegment
Get the current sequence number within this segment.
getSequence() - Method in interface me.ahoo.cosid.segment.IdSegment
Get the current sequence number within this segment.
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
Gets the sequence number component.
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
Get the number of bits used for the sequence portion.
getSequenceBit() - Method in class me.ahoo.cosid.snowflake.StringSnowflakeId
 
getSequenceBit() - Method in class me.ahoo.cosid.spring.boot.starter.cosid.CosIdGeneratorProperties
Gets the number of bits allocated for sequence number.
getSequenceBit() - Method in class me.ahoo.cosid.spring.boot.starter.snowflake.SnowflakeIdProperties.IdDefinition
 
getSequenceCharSize() - Method in class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
Gets the maximum character size for sequence in decimal representation.
getSequenceResetThreshold() - Method in class me.ahoo.cosid.spring.boot.starter.cosid.CosIdGeneratorProperties
Gets the sequence reset threshold.
getSequenceResetThreshold() - Method in class me.ahoo.cosid.spring.boot.starter.snowflake.SnowflakeIdProperties.IdDefinition
 
getSessionTimeout() - Method in class me.ahoo.cosid.spring.boot.starter.zookeeper.CosIdZookeeperProperties
 
getSetter() - Method in class me.ahoo.cosid.accessor.DefaultCosIdAccessor
Gets the setter.
getSetter() - Method in class me.ahoo.cosid.accessor.method.MethodSetter
Gets the setter method.
getShare() - Method in class me.ahoo.cosid.provider.DefaultIdGeneratorProvider
 
getShare() - Method in interface me.ahoo.cosid.provider.IdGeneratorProvider
Get the shared (default) ID generator.
getShare() - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties
Gets the shared ID definition configuration.
getShare() - Method in class me.ahoo.cosid.spring.boot.starter.snowflake.SnowflakeIdProperties
 
getSingleStep() - Method in class me.ahoo.cosid.segment.MergedIdSegment
Gets the step size for each sub-segment.
getSpinThreshold() - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.ClockBackwards
Gets the spin threshold for clock synchronization.
getStable() - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties
Gets whether the machine ID should be stable across restarts.
getStartInterval() - Method in class me.ahoo.cosid.sharding.IntervalTimeline
Gets the start interval.
getStat(String) - Method in class me.ahoo.cosid.spring.boot.starter.actuate.CosIdEndpoint
 
getStateLocation() - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.StateStorage.Local
Gets the file system path for state storage.
getStateParser() - Method in class me.ahoo.cosid.cosid.ClockSyncCosIdGenerator
 
getStateParser() - Method in interface me.ahoo.cosid.cosid.CosIdGenerator
Get the state parser used to convert between ID states and string representations.
getStateParser() - Method in class me.ahoo.cosid.cosid.RadixCosIdGenerator
 
getStateStorage() - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties
Gets the state storage configuration.
getStep() - Method in class me.ahoo.cosid.jdbc.JdbcIdSegmentDistributor
 
getStep() - Method in class me.ahoo.cosid.mongo.MongoIdSegmentDistributor
 
getStep() - Method in class me.ahoo.cosid.proxy.ProxyIdSegmentDistributor
 
getStep() - Method in class me.ahoo.cosid.segment.DefaultIdSegment
Get the step size for ID allocation.
getStep() - Method in class me.ahoo.cosid.segment.grouped.DefaultGroupedIdSegmentDistributor
 
getStep() - Method in class me.ahoo.cosid.segment.grouped.DefaultGroupedIdSegmentDistributor.GroupedBinding
 
getStep() - Method in interface me.ahoo.cosid.segment.IdSegment
Get the step size for ID allocation.
getStep() - Method in class me.ahoo.cosid.segment.IdSegmentChain
 
getStep() - Method in class me.ahoo.cosid.segment.IdSegmentDistributor.Atomic
Get the step size for ID segments.
getStep() - Method in interface me.ahoo.cosid.segment.IdSegmentDistributor
Get the step size for ID segments.
getStep() - Method in class me.ahoo.cosid.segment.IdSegmentDistributor.Mock
Get the step size for ID segments.
getStep() - Method in class me.ahoo.cosid.segment.IdSegmentDistributorDefinition
Gets the step size.
getStep() - Method in class me.ahoo.cosid.segment.MergedIdSegment
 
getStep() - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.IdDefinition
 
getStep() - Method in class me.ahoo.cosid.spring.redis.SpringRedisIdSegmentDistributor
 
getStep() - Method in class me.ahoo.cosid.test.segment.distributor.IdSegmentDistributorSpec
 
getStep() - Method in class me.ahoo.cosid.zookeeper.ZookeeperIdSegmentDistributor
 
getStep(int) - Method in interface me.ahoo.cosid.segment.IdSegmentDistributor
Get the total step size for the specified number of segments.
getStepWithSegments() - Method in class me.ahoo.cosid.test.segment.distributor.IdSegmentDistributorSpec
 
getSuffix() - Method in class me.ahoo.cosid.converter.SuffixIdConverter
Gets the suffix.
getSuffix() - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition
Gets the static suffix.
getSystemSecondTime() - Static method in interface me.ahoo.cosid.util.Clock
 
getTimeout() - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.Redis
Gets the Redis operation timeout.
getTimeout() - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Distributor.Redis
 
getTimestamp() - Method in class me.ahoo.cosid.cosid.CosIdState
Gets the timestamp component.
getTimestamp() - Method in class me.ahoo.cosid.snowflake.SnowflakeIdState
Gets the timestamp when this ID was generated.
getTimestamp(long) - Method in class me.ahoo.cosid.snowflake.MillisecondSnowflakeIdStateParser
 
getTimestamp(long) - Method in class me.ahoo.cosid.snowflake.SecondSnowflakeIdStateParser
 
getTimestamp(long) - Method in class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
Converts a time difference to a LocalDateTime.
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
Get the number of bits used for the timestamp portion.
getTimestampBit() - Method in class me.ahoo.cosid.snowflake.StringSnowflakeId
 
getTimestampBit() - Method in class me.ahoo.cosid.spring.boot.starter.cosid.CosIdGeneratorProperties
Gets the number of bits allocated for timestamp.
getTimestampBit() - Method in class me.ahoo.cosid.spring.boot.starter.snowflake.SnowflakeIdProperties.IdDefinition
 
getTimestampUnit() - Method in class me.ahoo.cosid.spring.boot.starter.snowflake.SnowflakeIdProperties.IdDefinition
 
getToString() - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition
Gets the toString configuration.
getTotalMachineIds() - Method in exception me.ahoo.cosid.machine.MachineIdOverflowException
Gets the total number of machine IDs.
getTtl() - Method in class me.ahoo.cosid.segment.DefaultIdSegment
Get the time-to-live for this segment.
getTtl() - Method in interface me.ahoo.cosid.segment.IdSegment
Get the time-to-live for this segment.
getTtl() - Method in class me.ahoo.cosid.segment.IdSegmentChain
 
getTtl() - Method in class me.ahoo.cosid.segment.MergedIdSegment
 
getTtl() - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties
Gets the time to live for ID segments.
getTtl() - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.IdDefinition
 
getTtlAt() - Method in class me.ahoo.cosid.segment.grouped.GroupedKey
Gets the TTL expiration timestamp.
getType() - Method in class me.ahoo.cosid.spring.boot.starter.cosid.CosIdGeneratorProperties
Gets the type of CosId generator.
getType() - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition.Custom
 
getType() - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition
Gets the converter type.
getType() - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.Distributor
Gets the distributor type.
getType() - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Distributor
 
getUnit() - Method in class me.ahoo.cosid.sharding.IntervalStep
Gets the time unit.
getValue() - Method in class me.ahoo.cosid.mongo.reactive.BlockingAdapterSubscriber
 
getVersion() - Method in class me.ahoo.cosid.segment.IdSegmentChain
Gets the version number of this chain.
getZoneId() - Method in class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
Gets the time zone used for timestamp conversion.
getZoneId() - Method in class me.ahoo.cosid.spring.boot.starter.cosid.CosIdGeneratorProperties
Gets the time zone for friendly format generators.
getZoneId() - Method in class me.ahoo.cosid.spring.boot.starter.snowflake.SnowflakeIdProperties
 
GracefullyCloser() - Constructor for class me.ahoo.cosid.segment.concurrent.PrefetchWorkerExecutorService.GracefullyCloser
 
group() - Method in class me.ahoo.cosid.segment.DefaultIdSegment
Get the group key for this segment.
group() - Method in class me.ahoo.cosid.segment.grouped.DefaultGroupedIdSegmentDistributor
 
group() - Method in class me.ahoo.cosid.segment.grouped.DefaultGroupedIdSegmentDistributor.GroupedBinding
 
group() - Method in interface me.ahoo.cosid.segment.grouped.Grouped
Gets the grouping key for this object.
group() - Method in class me.ahoo.cosid.segment.IdSegmentChain
 
group() - Method in class me.ahoo.cosid.segment.MergedIdSegment
 
Group() - Constructor for class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.IdDefinition.Group
 
groupBySupplier() - Method in class me.ahoo.cosid.segment.grouped.DefaultGroupedIdSegmentDistributor
Gets the group supplier.
GroupBySupplier - Interface in me.ahoo.cosid.segment.grouped
Supplier of GroupedKey for grouping related ID segments.
Grouped - Interface in me.ahoo.cosid.segment.grouped
Interface for objects that can be grouped for sharding purposes.
GroupedAccessor - Class in me.ahoo.cosid.segment.grouped
Thread-local accessor for managing grouped key context.
GroupedAccessor() - Constructor for class me.ahoo.cosid.segment.grouped.GroupedAccessor
 
GroupedBinding(GroupedKey, IdSegmentDistributor) - Constructor for class me.ahoo.cosid.segment.grouped.DefaultGroupedIdSegmentDistributor.GroupedBinding
Creates a binding.
GroupedIdSegmentDistributor - Interface in me.ahoo.cosid.segment.grouped
Extension of IdSegmentDistributor that supports ID grouping.
GroupedIdSegmentDistributorFactory - Class in me.ahoo.cosid.segment.grouped
Factory for creating grouped ID segment distributors.
GroupedIdSegmentDistributorFactory(GroupBySupplier, IdSegmentDistributorFactory) - Constructor for class me.ahoo.cosid.segment.grouped.GroupedIdSegmentDistributorFactory
Creates a factory with grouping support.
GroupedIdSegmentDistributorSpec - Class in me.ahoo.cosid.test.segment.distributor
 
GroupedIdSegmentDistributorSpec() - Constructor for class me.ahoo.cosid.test.segment.distributor.GroupedIdSegmentDistributorSpec
 
GroupedKey - Class in me.ahoo.cosid.segment.grouped
Key used for grouping/sharding of ID segments.
GroupedKey(String, long) - Constructor for class me.ahoo.cosid.segment.grouped.GroupedKey
Creates a new GroupedKey.
GroupedPrefixConverterStat - Class in me.ahoo.cosid.stat.converter
Grouped prefix converter stat with delimiter configuration.
GroupedPrefixConverterStat() - Constructor for class me.ahoo.cosid.stat.converter.GroupedPrefixConverterStat
 
GroupedPrefixIdConverter - Class in me.ahoo.cosid.converter
Converter that prepends a dynamic group key as prefix to string IDs.
GroupedPrefixIdConverter(String, IdConverter) - Constructor for class me.ahoo.cosid.converter.GroupedPrefixIdConverter
Creates a grouped prefix converter.
groupedSupplier() - Method in class me.ahoo.cosid.test.segment.distributor.GroupedIdSegmentDistributorSpec
 
GroupPrefix() - Constructor for class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition.GroupPrefix
 
guard() - Method in class me.ahoo.cosid.test.machine.distributor.MachineIdDistributorSpec
 
guard(String, String, boolean, String) - Method in interface me.ahoo.cosid.proxy.api.MachineApi
 
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 a machine ID with a heartbeat mechanism.
guard(String, InstanceId, MachineState, Duration) - Method in interface me.ahoo.cosid.mongo.MachineCollection
 
guard(String, InstanceId, MachineState, Duration) - Method in class me.ahoo.cosid.mongo.MongoMachineCollection
 
guard(String, InstanceId, MachineState, Duration) - Method in class me.ahoo.cosid.mongo.reactive.MongoReactiveMachineCollection
 
Guard - Class in me.ahoo.cosid.test.machine.distributor
Guard .
Guard(Supplier<MachineIdDistributor>, int) - Constructor for class me.ahoo.cosid.test.machine.distributor.Guard
 
guardDistribute(MachineIdDistributor, MachineIdGuarder) - Method in class me.ahoo.cosid.spring.boot.starter.machine.CosIdMachineAutoConfiguration
 
GuardDistribute - Class in me.ahoo.cosid.machine
 
GuardDistribute(MachineIdDistributor, MachineIdGuarder) - Constructor for class me.ahoo.cosid.machine.GuardDistribute
 
Guarder() - Constructor for class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.Guarder
 
guardFilter(String, InstanceId, MachineState) - Static method in interface me.ahoo.cosid.mongo.MachineOperates
 
GuardianState - Class in me.ahoo.cosid.machine
Represents the state of a machine ID guardian operation.
GuardianState() - Constructor for class me.ahoo.cosid.machine.GuardianState
 
guardLost() - Method in class me.ahoo.cosid.test.machine.distributor.MachineIdDistributorSpec
 
GuardLost - Class in me.ahoo.cosid.test.machine.distributor
GuardWhenLost .
GuardLost(Supplier<MachineIdDistributor>, int) - Constructor for class me.ahoo.cosid.test.machine.distributor.GuardLost
 
guardRemote(String, InstanceId, MachineState, Duration) - Method in class me.ahoo.cosid.jdbc.JdbcMachineIdDistributor
 
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
 
guardRemote(String, InstanceId, MachineState, Duration) - Method in class me.ahoo.cosid.mongo.MongoMachineIdDistributor
 
guardRemote(String, InstanceId, MachineState, Duration) - Method in class me.ahoo.cosid.proxy.ProxyMachineIdDistributor
 
guardRemote(String, InstanceId, MachineState, Duration) - Method in class me.ahoo.cosid.spring.redis.SpringRedisMachineIdDistributor
 
guardRemote(String, InstanceId, MachineState, Duration) - Method in class me.ahoo.cosid.zookeeper.ZookeeperMachineIdDistributor
 
guardUpdate(long) - Static method in interface me.ahoo.cosid.mongo.MachineOperates
 

H

hasFailure() - Method in interface me.ahoo.cosid.machine.MachineIdGuarder
Checks if any registered instance has failed guarding.
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
Get the hash code for this machine state.
hashCode() - Method in class me.ahoo.cosid.machine.NamespacedInstanceId
 
hashCode() - Method in class me.ahoo.cosid.proxy.api.MachineStateResponse
 
hashCode() - Method in class me.ahoo.cosid.segment.grouped.GroupedKey
 
hashCode() - Method in class me.ahoo.cosid.sharding.ExactCollection
 
hashCode() - Method in class me.ahoo.cosid.snowflake.SnowflakeIdState
 
hashTag(String) - Static method in class me.ahoo.cosid.spring.redis.SpringRedisMachineIdDistributor
redis hash-tag for redis-cluster.
health() - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineIdHealthIndicator
Performs a health check on the machine ID guarding system.
hookFinally(SignalType) - Method in class me.ahoo.cosid.mongo.reactive.BlockingAdapterSubscriber
 
hookOnError(Throwable) - Method in class me.ahoo.cosid.mongo.reactive.BlockingAdapterSubscriber
 
hookOnNext(T) - Method in class me.ahoo.cosid.mongo.reactive.BlockingAdapterSubscriber
 
HostAddressSupplier - Interface in me.ahoo.cosid.machine
Functional interface for providing host address.
HOSTNAME_KEY - Static variable in class me.ahoo.cosid.machine.k8s.StatefulSetMachineIdDistributor
 
hostNameSupplier() - Method in class me.ahoo.cosid.spring.boot.starter.machine.CosIdHostNameAutoConfiguration
 
hungry() - Method in interface me.ahoo.cosid.segment.concurrent.AffinityJob
Signals this job is hungry and needs prefetch.

I

id(long) - Method in class me.ahoo.cosid.snowflake.SnowflakeIdState.SnowflakeIdStateBuilder
Sets the raw snowflake ID value.
ID_FIELD - Static variable in interface me.ahoo.cosid.mongo.Documents
 
ID_KEY - Static variable in class me.ahoo.cosid.activiti.ActivitiIdGenerator
The key of the system property that can be used to set the id generator name.
ID_KEY - Static variable in class me.ahoo.cosid.axon.CosIdIdentifierFactory
 
ID_KEY - Static variable in class me.ahoo.cosid.flowable.FlowableIdGenerator
The key of the system property that can be used to set the id generator name.
idAnnotationDefinitionParser() - Method in class me.ahoo.cosid.spring.boot.starter.jdbc.CosIdJdbcAutoConfiguration
 
IdAnnotationDefinitionParser - Class in me.ahoo.cosid.spring.data.jdbc
Id Annotation FieldDefinitionParser.
IdAnnotationDefinitionParser() - Constructor for class me.ahoo.cosid.spring.data.jdbc.IdAnnotationDefinitionParser
 
idConverter - Variable in class me.ahoo.cosid.StringIdGeneratorDecorator
The custom ID converter for transforming numeric IDs to string format.
idConverter() - Method in interface me.ahoo.cosid.cosid.CosIdGenerator
Get the ID converter (unsupported in CosIdGenerator).
idConverter() - Method in interface me.ahoo.cosid.IdGenerator
Get the ID converter used to convert long type IDs to String.
idConverter() - Method in class me.ahoo.cosid.provider.LazyIdGenerator
 
idConverter() - Method in class me.ahoo.cosid.StringIdGeneratorDecorator
Get the custom ID converter used by this decorator.
IdConverter - Interface in me.ahoo.cosid
ID converter for transforming between numeric and string representations of IDs.
IdConverterDecorator<T extends IdGenerator> - Class in me.ahoo.cosid.spring.boot.starter
 
IdConverterDecorator(T, IdConverterDefinition) - Constructor for class me.ahoo.cosid.spring.boot.starter.IdConverterDecorator
 
IdConverterDefinition - Class in me.ahoo.cosid.spring.boot.starter
Configuration definition for ID converters in CosId.
IdConverterDefinition() - Constructor for class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition
 
IdConverterDefinition.Custom - Class in me.ahoo.cosid.spring.boot.starter
 
IdConverterDefinition.DatePrefix - Class in me.ahoo.cosid.spring.boot.starter
 
IdConverterDefinition.Friendly - Class in me.ahoo.cosid.spring.boot.starter
 
IdConverterDefinition.GroupPrefix - Class in me.ahoo.cosid.spring.boot.starter
 
IdConverterDefinition.Radix - Class in me.ahoo.cosid.spring.boot.starter
Configuration for Radix62 ID converter.
IdConverterDefinition.Radix36 - Class in me.ahoo.cosid.spring.boot.starter
 
IdConverterDefinition.ToString - Class in me.ahoo.cosid.spring.boot.starter
 
IdConverterDefinition.Type - Enum Class in me.ahoo.cosid.spring.boot.starter
Enumeration of supported ID converter types.
IdDefinition - Class in me.ahoo.cosid.accessor
ID definition that describes how an ID field should be handled.
IdDefinition() - Constructor for class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.IdDefinition
 
IdDefinition() - Constructor for class me.ahoo.cosid.spring.boot.starter.snowflake.SnowflakeIdProperties.IdDefinition
 
IdDefinition(Field) - Constructor for class me.ahoo.cosid.accessor.IdDefinition
Create a new ID definition with the default shared generator.
IdDefinition(String, Field) - Constructor for class me.ahoo.cosid.accessor.IdDefinition
Create a new ID definition with the specified generator name.
IdDefinition(String, Field, Class<?>) - Constructor for class me.ahoo.cosid.accessor.IdDefinition
Create a new ID definition with all parameters specified.
idGenerator - Variable in class me.ahoo.cosid.spring.boot.starter.IdConverterDecorator
 
IdGenerator - Interface in me.ahoo.cosid
Id Generator.
IdGeneratorDecorator - Interface in me.ahoo.cosid
IdGenerator decorator for enhancing ID generator functionality.
idGeneratorProvider() - Method in class me.ahoo.cosid.spring.boot.starter.CosIdAutoConfiguration
Provides the default ID generator provider instance.
IdGeneratorProvider - Interface in me.ahoo.cosid.provider
Container for managing named IdGenerator instances.
IdGeneratorStat - Interface in me.ahoo.cosid.stat.generator
Statistical information for ID generators.
IdMetadata - Interface in me.ahoo.cosid.accessor
Metadata container for ID field information.
IdOverflowException(long) - Constructor for exception me.ahoo.cosid.IntegerIdGenerator.IdOverflowException
Create a new IdOverflowException for the specified ID.
IdSegment - Interface in me.ahoo.cosid.segment
ID segment representing a contiguous block of IDs allocated for generation.
IdSegmentChain - Class in me.ahoo.cosid.segment
Chained ID segment for lock-free segment chain ID generation.
IdSegmentChain(long, IdSegment, boolean) - Constructor for class me.ahoo.cosid.segment.IdSegmentChain
Creates a new chain segment with explicit version.
IdSegmentChain(IdSegmentChain, IdSegment, boolean) - Constructor for class me.ahoo.cosid.segment.IdSegmentChain
Creates a new chain segment linked to a previous chain.
IdSegmentCollection - Interface in me.ahoo.cosid.mongo
 
IdSegmentDistributor - Interface in me.ahoo.cosid.segment
ID segment distributor for allocating contiguous blocks of IDs in distributed systems.
IdSegmentDistributor.Atomic - Class in me.ahoo.cosid.segment
Atomic implementation of IdSegmentDistributor for testing purposes.
IdSegmentDistributor.Mock - Class in me.ahoo.cosid.segment
Mock implementation of IdSegmentDistributor for testing purposes.
IdSegmentDistributorDefinition - Class in me.ahoo.cosid.segment
Definition for an ID segment distributor configuration.
IdSegmentDistributorDefinition(String, String, long, long) - Constructor for class me.ahoo.cosid.segment.IdSegmentDistributorDefinition
Creates a new definition.
idSegmentDistributorFactory(DataSource, JdbcIdSegmentInitializer) - Method in class me.ahoo.cosid.spring.boot.starter.segment.CosIdJdbcSegmentAutoConfiguration
 
idSegmentDistributorFactory(SegmentClient) - Method in class me.ahoo.cosid.spring.boot.starter.segment.CosIdProxySegmentAutoConfiguration
 
idSegmentDistributorFactory(CuratorFramework, RetryPolicy) - Method in class me.ahoo.cosid.spring.boot.starter.segment.CosIdZookeeperSegmentAutoConfiguration
 
idSegmentDistributorFactory(StringRedisTemplate) - Method in class me.ahoo.cosid.spring.boot.starter.segment.CosIdSpringRedisSegmentAutoConfiguration
 
IdSegmentDistributorFactory - Interface in me.ahoo.cosid.segment
Factory interface for creating IdSegmentDistributor instances.
IdSegmentDistributorSpec - Class in me.ahoo.cosid.test.segment.distributor
IdSegmentDistributorSpec .
IdSegmentDistributorSpec() - Constructor for class me.ahoo.cosid.test.segment.distributor.IdSegmentDistributorSpec
 
IdSegmentInitializer - Interface in me.ahoo.cosid.mongo
 
IdSegmentOperates - Interface in me.ahoo.cosid.mongo
 
IdTypeNotSupportException - Exception in me.ahoo.cosid.accessor
Exception thrown when an ID field type is not supported.
IdTypeNotSupportException(Field) - Constructor for exception me.ahoo.cosid.accessor.IdTypeNotSupportException
Creates a new exception.
IN_MEMORY - Static variable in interface me.ahoo.cosid.machine.MachineStateStorage
In-memory machine state storage instance.
INCREMENT_MAX_ID_SQL - Static variable in class me.ahoo.cosid.jdbc.JdbcIdSegmentDistributor
 
incrementAndGet() - Method in class me.ahoo.cosid.segment.DefaultIdSegment
Atomically increment the sequence and return the new value.
incrementAndGet() - Method in interface me.ahoo.cosid.segment.IdSegment
Atomically increment the sequence and return the new value.
incrementAndGet() - Method in class me.ahoo.cosid.segment.IdSegmentChain
 
incrementAndGet() - Method in class me.ahoo.cosid.segment.MergedIdSegment
 
incrementAndGet(String, long) - Method in interface me.ahoo.cosid.mongo.IdSegmentCollection
 
incrementAndGet(String, long) - Method in class me.ahoo.cosid.mongo.MongoIdSegmentCollection
 
incrementAndGet(String, long) - Method in class me.ahoo.cosid.mongo.reactive.MongoReactiveIdSegmentCollection
 
incrementAndGetUpdates(long) - Static method in interface me.ahoo.cosid.mongo.IdSegmentOperates
 
indexOf(Object) - Method in class me.ahoo.cosid.sharding.ExactCollection
 
INIT_COSID_TABLE_SQL - Static variable in class me.ahoo.cosid.jdbc.JdbcIdSegmentInitializer
 
INIT_ID_SEGMENT_SQL - Static variable in class me.ahoo.cosid.jdbc.JdbcIdSegmentInitializer
 
initCosIdMachineTable() - Method in class me.ahoo.cosid.jdbc.JdbcMachineIdInitializer
 
initCosIdTable() - Method in class me.ahoo.cosid.jdbc.JdbcIdSegmentInitializer
 
INITIAL - Static variable in class me.ahoo.cosid.machine.GuardianState
The initial state representing no guarding operation has been performed.
initIdSegment(String, long) - Method in class me.ahoo.cosid.jdbc.JdbcIdSegmentInitializer
 
InMemoryMachineStateStorage - Class in me.ahoo.cosid.machine
In-memory implementation of MachineStateStorage.
InMemoryMachineStateStorage() - Constructor for class me.ahoo.cosid.machine.InMemoryMachineStateStorage
 
INSTANCE - Static variable in class me.ahoo.cosid.annotation.AnnotationDefinitionParser
Shared singleton instance.
INSTANCE - Static variable in class me.ahoo.cosid.converter.Radix36IdConverter
Shared instance without padding.
INSTANCE - Static variable in class me.ahoo.cosid.converter.Radix62IdConverter
A shared instance without padding.
INSTANCE - Static variable in class me.ahoo.cosid.converter.SnowflakeFriendlyIdConverter
Shared instance using millisecond parser.
INSTANCE - Static variable in class me.ahoo.cosid.converter.ToStringIdConverter
Shared instance without padding.
INSTANCE - Static variable in class me.ahoo.cosid.jvm.AtomicLongGenerator
Shared singleton instance.
INSTANCE - Static variable in class me.ahoo.cosid.jvm.UuidGenerator
Shared singleton instance.
INSTANCE - Static variable in class me.ahoo.cosid.machine.k8s.StatefulSetMachineIdDistributor
 
INSTANCE - Static variable in class me.ahoo.cosid.machine.LocalHostAddressSupplier
 
INSTANCE - Static variable in class me.ahoo.cosid.provider.DefaultIdGeneratorProvider
Shared singleton instance.
INSTANCE - Static variable in class me.ahoo.cosid.snowflake.MillisecondSnowflakeIdStateParser
Default parser instance with CosId epoch.
INSTANCE - Static variable in class me.ahoo.cosid.spring.data.jdbc.IdAnnotationDefinitionParser
 
INSTANCE - Static variable in class me.ahoo.cosid.test.MockIdGenerator
 
INSTANCE_ID_FIELD - Static variable in interface me.ahoo.cosid.mongo.MachineOperates
 
instanceId(HostAddressSupplier) - Method in class me.ahoo.cosid.spring.boot.starter.machine.CosIdMachineAutoConfiguration
Creates the instance identifier for this application instance.
InstanceId - Class in me.ahoo.cosid.machine
Represents a specific deployment instance of a service.
InstanceId(String, boolean) - Constructor for class me.ahoo.cosid.machine.InstanceId
Creates a new InstanceId.
intAsString(boolean, int, int) - Static method in class me.ahoo.cosid.cosid.FriendlyIdStateParser
Converts an integer to string with optional padding.
IntegerIdGenerator - Class in me.ahoo.cosid
Integer ID generator that adapts a long-based ID generator to produce integer IDs.
IntegerIdGenerator(IdGenerator) - Constructor for class me.ahoo.cosid.IntegerIdGenerator
Create a new IntegerIdGenerator that wraps the specified long ID generator.
IntegerIdGenerator.IdOverflowException - Exception in me.ahoo.cosid
Exception thrown when an ID exceeds the integer value range.
intercept(Invocation) - Method in class me.ahoo.cosid.mybatis.CosIdPlugin
 
Interval(LocalDateTime, String) - Constructor for class me.ahoo.cosid.sharding.IntervalTimeline.Interval
Creates an interval.
IntervalStep - Class in me.ahoo.cosid.sharding
Represents a time interval step for sharding operations.
IntervalStep(ChronoUnit, int) - Constructor for class me.ahoo.cosid.sharding.IntervalStep
Creates an interval step.
IntervalTimeline - Class in me.ahoo.cosid.sharding
Timeline-based interval sharding algorithm.
IntervalTimeline(String, Range<LocalDateTime>, IntervalStep, DateTimeFormatter) - Constructor for class me.ahoo.cosid.sharding.IntervalTimeline
Creates an IntervalTimeline sharding algorithm.
IntervalTimeline.Interval - Class in me.ahoo.cosid.sharding
Represents a time interval with an associated node name.
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
Check if this segment is available for ID generation.
isBeforePrefix() - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition.DatePrefix
 
isBeforePrefix() - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition.GroupPrefix
 
isClockSync() - Method in class me.ahoo.cosid.spring.boot.starter.snowflake.SnowflakeIdProperties.IdDefinition
 
isEnableAutoInitCosidTable() - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Distributor.Jdbc
 
isEnableAutoInitIdSegment() - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Distributor.Jdbc
 
isEnabled() - Method in class me.ahoo.cosid.spring.boot.starter.cosid.CosIdGeneratorProperties
Checks if CosId generator auto-configuration is enabled.
isEnabled() - Method in class me.ahoo.cosid.spring.boot.starter.CosIdProperties
Checks if CosId is enabled.
isEnabled() - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition.DatePrefix
 
isEnabled() - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition.GroupPrefix
 
isEnabled() - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.Guarder
Checks if machine ID guarding is enabled.
isEnabled() - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties
Checks if machine ID management is enabled.
isEnabled() - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties
Checks if segment ID generation is enabled.
isEnabled() - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.ShardIdDefinition
 
isEnabled() - Method in class me.ahoo.cosid.spring.boot.starter.snowflake.SnowflakeIdProperties
 
isEnabled() - Method in class me.ahoo.cosid.spring.boot.starter.snowflake.SnowflakeIdProperties.ShardIdDefinition
 
isEnabled() - Method in class me.ahoo.cosid.spring.boot.starter.zookeeper.CosIdZookeeperProperties
 
isExpired() - Method in interface me.ahoo.cosid.segment.IdSegment
Check if this segment has expired.
isFailed() - Method in class me.ahoo.cosid.machine.GuardianState
Checks if the guarding operation failed.
isOverflow() - Method in interface me.ahoo.cosid.segment.IdSegment
Check if this segment has overflowed.
isOverflow(long) - Method in interface me.ahoo.cosid.segment.IdSegment
Check if the specified sequence number represents an overflow.
isPadStart() - Method in class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
Checks if numeric fields are padded with leading zeros.
isPadStart() - Method in class me.ahoo.cosid.spring.boot.starter.cosid.CosIdGeneratorProperties
Checks if padding is enabled for friendly format IDs.
isPadStart() - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition.Friendly
 
isPadStart() - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition.Radix
 
isPadStart() - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition.Radix36
 
isPadStart() - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition.ToString
 
isRunning() - Method in class me.ahoo.cosid.machine.DefaultMachineIdGuarder
Checks if the machine ID guarder is currently running.
isRunning() - Method in interface me.ahoo.cosid.machine.MachineIdGuarder
Checks if the machine ID guarder is currently running.
isRunning() - Method in class me.ahoo.cosid.machine.MachineIdGuarder.None
 
isRunning() - Method in class me.ahoo.cosid.spring.boot.starter.machine.CosIdMachineIdLifecycle
 
isRunning() - Method in class me.ahoo.cosid.spring.boot.starter.segment.CosIdLifecyclePrefetchWorkerExecutorService
 
isSafeJavascript() - Method in class me.ahoo.cosid.snowflake.ClockSyncSnowflakeId
 
isSafeJavascript() - Method in interface me.ahoo.cosid.snowflake.SnowflakeId
Check if this Snowflake ID generator is safe for use in JavaScript.
isSafeJavaScript(long) - Static method in class me.ahoo.cosid.snowflake.SafeJavaScriptSnowflakeId
Checks if an ID is safe for JavaScript.
isShutdownHook() - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Chain.PrefetchWorker
Checks if shutdown hook is enabled.
isStable() - Method in class me.ahoo.cosid.machine.InstanceId
Checks if this instance has a stable identity.
iterator() - Method in class me.ahoo.cosid.sharding.ExactCollection
 

J

JAVA_SCRIPT_MAX_SAFE_NUMBER - Static variable in class me.ahoo.cosid.snowflake.SafeJavaScriptSnowflakeId
Maximum safe JavaScript number value.
JAVA_SCRIPT_MAX_SAFE_NUMBER_BIT - Static variable in class me.ahoo.cosid.snowflake.SafeJavaScriptSnowflakeId
Maximum safe JavaScript number bit count.
Jdbc() - Constructor for class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Distributor.Jdbc
 
JDBC - Enum constant in enum class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.Distributor.Type
Database-based distribution using JDBC.
JDBC - Enum constant in enum class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Distributor.Type
 
JdbcIdSegmentDistributor - Class in me.ahoo.cosid.jdbc
Jdbc IdSegment Distributor.
JdbcIdSegmentDistributor(String, String, long, String, String, DataSource) - Constructor for class me.ahoo.cosid.jdbc.JdbcIdSegmentDistributor
 
JdbcIdSegmentDistributor(String, String, long, DataSource) - Constructor for class me.ahoo.cosid.jdbc.JdbcIdSegmentDistributor
 
JdbcIdSegmentDistributorFactory - Class in me.ahoo.cosid.jdbc
Jdbc IdSegment Distributor Factory.
JdbcIdSegmentDistributorFactory(DataSource, boolean, JdbcIdSegmentInitializer, String, String) - Constructor for class me.ahoo.cosid.jdbc.JdbcIdSegmentDistributorFactory
 
jdbcIdSegmentInitializer(DataSource) - Method in class me.ahoo.cosid.spring.boot.starter.segment.CosIdJdbcSegmentAutoConfiguration
 
JdbcIdSegmentInitializer - Class in me.ahoo.cosid.jdbc
Jdbc IdSegment Initializer.
JdbcIdSegmentInitializer(String, String, DataSource) - Constructor for class me.ahoo.cosid.jdbc.JdbcIdSegmentInitializer
 
JdbcIdSegmentInitializer(DataSource) - Constructor for class me.ahoo.cosid.jdbc.JdbcIdSegmentInitializer
 
jdbcMachineIdDistributor(DataSource, MachineStateStorage, ClockBackwardsSynchronizer) - Method in class me.ahoo.cosid.spring.boot.starter.machine.CosIdJdbcMachineIdDistributorAutoConfiguration
 
JdbcMachineIdDistributor - Class in me.ahoo.cosid.jdbc
Jdbc MachineId Distributor.
JdbcMachineIdDistributor(DataSource, MachineStateStorage, ClockBackwardsSynchronizer) - Constructor for class me.ahoo.cosid.jdbc.JdbcMachineIdDistributor
 
JdbcMachineIdInitializer - Class in me.ahoo.cosid.jdbc
Jdbc MachineId Initializer.
JdbcMachineIdInitializer(DataSource) - Constructor for class me.ahoo.cosid.jdbc.JdbcMachineIdInitializer
 
JdbcMachineIdInitializer(DataSource, String, String, String) - Constructor for class me.ahoo.cosid.jdbc.JdbcMachineIdInitializer
 
Jsons - Class in me.ahoo.cosid.proxy
 

K

KEY - Static variable in interface me.ahoo.cosid.spring.boot.starter.EnabledSuffix
The standard suffix for enabled/disabled configuration properties.

L

LAST_FETCH_TIME_FIELD - Static variable in interface me.ahoo.cosid.mongo.IdSegmentOperates
 
LAST_MAX_ID_FIELD - Static variable in interface me.ahoo.cosid.mongo.IdSegmentOperates
 
LAST_TIMESTAMP_FIELD - Static variable in interface me.ahoo.cosid.mongo.MachineOperates
 
lastTimestamp - Variable in class me.ahoo.cosid.snowflake.AbstractSnowflakeId
Timestamp of the last generated ID.
LazyIdGenerator - Class in me.ahoo.cosid.provider
Lazy loading IdGenerator.
LazyIdGenerator(String) - Constructor for class me.ahoo.cosid.provider.LazyIdGenerator
Creates a lazy generator with default provider.
LazyIdGenerator(String, IdGeneratorProvider) - Constructor for class me.ahoo.cosid.provider.LazyIdGenerator
Creates a lazy generator with custom provider.
lifecycleSegmentChainId(PrefetchWorkerExecutorService) - Method in class me.ahoo.cosid.spring.boot.starter.segment.CosIdSegmentAutoConfiguration
 
Local() - Constructor for class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.StateStorage.Local
 
LOCAL - Static variable in interface me.ahoo.cosid.machine.MachineStateStorage
Local machine state storage instance.
LocalDateTimeConvert - Class in me.ahoo.cosid.util
type Convert tool class of LocalDateTime.
LocalDateTimeConvertor - Interface in me.ahoo.cosid.sharding
 
LocalHostAddressSupplier - Class in me.ahoo.cosid.machine
 
LocalHostAddressSupplier() - Constructor for class me.ahoo.cosid.machine.LocalHostAddressSupplier
 
LocalMachineStateStorage - Class in me.ahoo.cosid.machine
File-based machine state storage.
LocalMachineStateStorage() - Constructor for class me.ahoo.cosid.machine.LocalMachineStateStorage
Creates storage with default location.
LocalMachineStateStorage(String) - Constructor for class me.ahoo.cosid.machine.LocalMachineStateStorage
Creates storage with specified location.

M

MACHINE_ID_DISTRIBUTE - Static variable in class me.ahoo.cosid.spring.redis.SpringRedisMachineIdDistributor
 
MACHINE_ID_DISTRIBUTE_SOURCE - Static variable in class me.ahoo.cosid.spring.redis.SpringRedisMachineIdDistributor
 
MACHINE_ID_FIELD - Static variable in interface me.ahoo.cosid.mongo.MachineOperates
 
MACHINE_ID_GUARD - Static variable in class me.ahoo.cosid.spring.redis.SpringRedisMachineIdDistributor
 
MACHINE_ID_GUARD_SOURCE - Static variable in class me.ahoo.cosid.spring.redis.SpringRedisMachineIdDistributor
 
MACHINE_ID_LOST - Static variable in class me.ahoo.cosid.proxy.api.ErrorResponse
 
MACHINE_ID_OVERFLOW - Static variable in class me.ahoo.cosid.proxy.api.ErrorResponse
 
MACHINE_ID_REVERT - Static variable in class me.ahoo.cosid.spring.redis.SpringRedisMachineIdDistributor
 
MACHINE_ID_REVERT_SOURCE - Static variable in class me.ahoo.cosid.spring.redis.SpringRedisMachineIdDistributor
 
MACHINE_ID_REVERT_STABLE - Static variable in class me.ahoo.cosid.spring.redis.SpringRedisMachineIdDistributor
 
MACHINE_ID_REVERT_STABLE_SOURCE - Static variable in class me.ahoo.cosid.spring.redis.SpringRedisMachineIdDistributor
 
MachineApi - Interface in me.ahoo.cosid.proxy.api
 
machineBit - Variable in class me.ahoo.cosid.snowflake.AbstractSnowflakeId
Number of bits allocated for the machine ID portion.
machineBit - Variable in class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
Number of bits for machine ID portion.
machineBit() - Element in annotation interface me.ahoo.cosid.jackson.AsString
 
MachineClient - Interface in me.ahoo.cosid.proxy.api
 
MachineCollection - Interface in me.ahoo.cosid.mongo
 
machineId - Variable in class me.ahoo.cosid.snowflake.AbstractSnowflakeId
The machine ID value for this instance.
machineId(int) - Method in class me.ahoo.cosid.snowflake.SnowflakeIdState.SnowflakeIdStateBuilder
Sets the machine ID component.
machineId(GuardDistribute, InstanceId) - Method in class me.ahoo.cosid.spring.boot.starter.machine.CosIdMachineAutoConfiguration
Creates the machine ID for this instance.
MachineId - Class in me.ahoo.cosid.machine
Logical machine identifier for distributed ID generation.
MachineId(int) - Constructor for class me.ahoo.cosid.machine.MachineId
Creates a new MachineId.
MachineIdDistribute - Interface in me.ahoo.cosid.machine
 
machineIdDistributor(MachineStateStorage, ClockBackwardsSynchronizer) - Method in class me.ahoo.cosid.spring.boot.starter.machine.CosIdMachineAutoConfiguration
 
MachineIdDistributor - Interface in me.ahoo.cosid.machine
Machine ID distributor for coordinating unique machine identifiers in distributed systems.
MachineIdDistributorSpec - Class in me.ahoo.cosid.test.machine.distributor
DistributorSpec .
MachineIdDistributorSpec() - Constructor for class me.ahoo.cosid.test.machine.distributor.MachineIdDistributorSpec
 
machineIdGuarder(MachineIdDistributor) - Method in class me.ahoo.cosid.spring.boot.starter.machine.CosIdMachineAutoConfiguration
Creates the machine ID guarder for monitoring machine ID conflicts.
MachineIdGuarder - Interface in me.ahoo.cosid.machine
MachineId Guarder.
MachineIdGuarder.None - Class in me.ahoo.cosid.machine
A no-operation implementation of MachineIdGuarder.
machineIdHealthIndicator(MachineIdGuarder) - Method in class me.ahoo.cosid.spring.boot.starter.machine.CosIdMachineAutoConfiguration
Creates the health indicator for machine ID monitoring.
MachineIdHealthIndicator - Class in me.ahoo.cosid.spring.boot.starter.machine
A Spring Boot Actuator HealthIndicator that monitors the health of machine ID guarding.
MachineIdHealthIndicator(MachineIdGuarder) - Constructor for class me.ahoo.cosid.spring.boot.starter.machine.MachineIdHealthIndicator
Constructs a MachineIdHealthIndicator with the specified MachineIdGuarder.
MachineIdLostException - Exception in me.ahoo.cosid.machine
Exception thrown when a machine ID is lost.
MachineIdLostException(String, InstanceId, MachineState) - Constructor for exception me.ahoo.cosid.machine.MachineIdLostException
Creates a new exception.
MachineIdOverflowException - Exception in me.ahoo.cosid.machine
Exception thrown when machine ID cannot be allocated.
MachineIdOverflowException(int, InstanceId) - Constructor for exception me.ahoo.cosid.machine.MachineIdOverflowException
Creates a new exception.
MachineInitializer - Interface in me.ahoo.cosid.mongo
 
machineLeft - Variable in class me.ahoo.cosid.snowflake.AbstractSnowflakeId
Number of bits to shift machine ID left (equal to sequenceBit).
machineLeft - Variable in class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
Number of bits to shift machine ID left.
machineMask - Variable in class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
Mask for extracting machine ID from raw ID.
MachineOperates - Interface in me.ahoo.cosid.mongo
 
MachineProperties - Class in me.ahoo.cosid.spring.boot.starter.machine
Configuration properties for machine ID management in distributed systems.
MachineProperties() - Constructor for class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties
Constructs a new MachineProperties instance with default configurations.
MachineProperties.ClockBackwards - Class in me.ahoo.cosid.spring.boot.starter.machine
Configuration for clock backwards synchronization.
MachineProperties.Distributor - Class in me.ahoo.cosid.spring.boot.starter.machine
Configuration for machine ID distribution strategies.
MachineProperties.Distributor.Type - Enum Class in me.ahoo.cosid.spring.boot.starter.machine
Enumeration of supported machine ID distributor types.
MachineProperties.Guarder - Class in me.ahoo.cosid.spring.boot.starter.machine
Configuration for machine ID guarding mechanisms.
MachineProperties.Manual - Class in me.ahoo.cosid.spring.boot.starter.machine
Configuration for manual machine ID assignment.
MachineProperties.Mongo - Class in me.ahoo.cosid.spring.boot.starter.machine
Configuration for MongoDB-based machine ID distribution.
MachineProperties.Redis - Class in me.ahoo.cosid.spring.boot.starter.machine
Configuration for Redis-based machine ID distribution.
MachineProperties.StateStorage - Class in me.ahoo.cosid.spring.boot.starter.machine
Configuration for machine state storage mechanisms.
MachineProperties.StateStorage.Local - Class in me.ahoo.cosid.spring.boot.starter.machine
Configuration for local file system state storage.
MachineState - Class in me.ahoo.cosid.machine
Machine state representing the status of a distributed machine instance.
MachineState(int, long) - Constructor for class me.ahoo.cosid.machine.MachineState
Create a new MachineState with the specified machine ID and timestamp.
MachineStateResponse - Class in me.ahoo.cosid.proxy.api
MachineStateResponse .
MachineStateResponse(int, long) - Constructor for class me.ahoo.cosid.proxy.api.MachineStateResponse
 
machineStateStorage() - Method in class me.ahoo.cosid.spring.boot.starter.machine.CosIdMachineAutoConfiguration
 
MachineStateStorage - Interface in me.ahoo.cosid.machine
Machine state storage for persisting machine state across restarts.
Manual() - Constructor for class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.Manual
 
MANUAL - Enum constant in enum class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.Distributor.Type
Manual assignment of machine IDs.
ManualMachineIdDistributor - Class in me.ahoo.cosid.machine
Manual machine ID distributor.
ManualMachineIdDistributor(int, MachineStateStorage, ClockBackwardsSynchronizer) - Constructor for class me.ahoo.cosid.machine.ManualMachineIdDistributor
Creates a manual distributor.
MAX_CHAR_SIZE - Static variable in class me.ahoo.cosid.converter.Radix36IdConverter
Maximum character size (13 for full long range).
MAX_CHAR_SIZE - Static variable in class me.ahoo.cosid.converter.Radix62IdConverter
The maximum character size for radix-62 encoded IDs.
MAX_MACHINE_ID_FIELD - Static variable in interface me.ahoo.cosid.mongo.MachineOperates
 
maxCharSize(int, int) - Static method in class me.ahoo.cosid.converter.RadixIdConverter
Calculates maximum character size for a given radix and bit count.
maxMachineId - Variable in class me.ahoo.cosid.snowflake.AbstractSnowflakeId
Maximum machine ID value representable by the machine ID bits.
maxMachineId(int) - Static method in interface me.ahoo.cosid.machine.MachineIdDistributor
Calculate the maximum machine ID for the specified bit size.
maxOriginalId() - Method in exception me.ahoo.cosid.uncertainty.OriginalIdOverflowException
Gets the max original ID.
maxOriginalId() - Method in class me.ahoo.cosid.uncertainty.UncertaintyIdGenerator
 
maxSequence - Variable in class me.ahoo.cosid.snowflake.AbstractSnowflakeId
Maximum sequence value representable by the sequence bits.
maxTimestamp - Variable in class me.ahoo.cosid.snowflake.AbstractSnowflakeId
Maximum timestamp value representable by the timestamp bits.
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.activiti - package me.ahoo.cosid.activiti
 
me.ahoo.cosid.annotation - package me.ahoo.cosid.annotation
 
me.ahoo.cosid.axon - package me.ahoo.cosid.axon
 
me.ahoo.cosid.converter - package me.ahoo.cosid.converter
 
me.ahoo.cosid.cosid - package me.ahoo.cosid.cosid
 
me.ahoo.cosid.flowable - package me.ahoo.cosid.flowable
 
me.ahoo.cosid.jackson - package me.ahoo.cosid.jackson
 
me.ahoo.cosid.jdbc - package me.ahoo.cosid.jdbc
 
me.ahoo.cosid.jdbc.exception - package me.ahoo.cosid.jdbc.exception
 
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.mongo - package me.ahoo.cosid.mongo
 
me.ahoo.cosid.mongo.reactive - package me.ahoo.cosid.mongo.reactive
 
me.ahoo.cosid.mybatis - package me.ahoo.cosid.mybatis
 
me.ahoo.cosid.provider - package me.ahoo.cosid.provider
 
me.ahoo.cosid.proxy - package me.ahoo.cosid.proxy
 
me.ahoo.cosid.proxy.api - package me.ahoo.cosid.proxy.api
 
me.ahoo.cosid.segment - package me.ahoo.cosid.segment
 
me.ahoo.cosid.segment.concurrent - package me.ahoo.cosid.segment.concurrent
 
me.ahoo.cosid.segment.grouped - package me.ahoo.cosid.segment.grouped
 
me.ahoo.cosid.segment.grouped.date - package me.ahoo.cosid.segment.grouped.date
 
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.spring.boot.starter - package me.ahoo.cosid.spring.boot.starter
 
me.ahoo.cosid.spring.boot.starter.activiti - package me.ahoo.cosid.spring.boot.starter.activiti
 
me.ahoo.cosid.spring.boot.starter.actuate - package me.ahoo.cosid.spring.boot.starter.actuate
 
me.ahoo.cosid.spring.boot.starter.cosid - package me.ahoo.cosid.spring.boot.starter.cosid
 
me.ahoo.cosid.spring.boot.starter.flowable - package me.ahoo.cosid.spring.boot.starter.flowable
 
me.ahoo.cosid.spring.boot.starter.jdbc - package me.ahoo.cosid.spring.boot.starter.jdbc
 
me.ahoo.cosid.spring.boot.starter.machine - package me.ahoo.cosid.spring.boot.starter.machine
 
me.ahoo.cosid.spring.boot.starter.mybatis - package me.ahoo.cosid.spring.boot.starter.mybatis
 
me.ahoo.cosid.spring.boot.starter.segment - package me.ahoo.cosid.spring.boot.starter.segment
 
me.ahoo.cosid.spring.boot.starter.snowflake - package me.ahoo.cosid.spring.boot.starter.snowflake
 
me.ahoo.cosid.spring.boot.starter.zookeeper - package me.ahoo.cosid.spring.boot.starter.zookeeper
 
me.ahoo.cosid.spring.data.jdbc - package me.ahoo.cosid.spring.data.jdbc
 
me.ahoo.cosid.spring.redis - package me.ahoo.cosid.spring.redis
 
me.ahoo.cosid.stat - package me.ahoo.cosid.stat
 
me.ahoo.cosid.stat.converter - package me.ahoo.cosid.stat.converter
 
me.ahoo.cosid.stat.generator - package me.ahoo.cosid.stat.generator
 
me.ahoo.cosid.test - package me.ahoo.cosid.test
 
me.ahoo.cosid.test.container - package me.ahoo.cosid.test.container
 
me.ahoo.cosid.test.machine.distributor - package me.ahoo.cosid.test.machine.distributor
 
me.ahoo.cosid.test.segment.distributor - package me.ahoo.cosid.test.segment.distributor
 
me.ahoo.cosid.uncertainty - package me.ahoo.cosid.uncertainty
 
me.ahoo.cosid.util - package me.ahoo.cosid.util
 
me.ahoo.cosid.zookeeper - package me.ahoo.cosid.zookeeper
 
MergedIdSegment - Class in me.ahoo.cosid.segment
Merged ID segment that divides a segment into multiple sub-segments.
MergedIdSegment(int, IdSegment) - Constructor for class me.ahoo.cosid.segment.MergedIdSegment
Creates a merged segment.
MethodGetter - Class in me.ahoo.cosid.accessor.method
ID getter that accesses via getter method.
MethodGetter(Method) - Constructor for class me.ahoo.cosid.accessor.method.MethodGetter
Creates a getter for the specified method.
MethodSetter - Class in me.ahoo.cosid.accessor.method
ID setter that accesses via setter method.
MethodSetter(Method) - Constructor for class me.ahoo.cosid.accessor.method.MethodSetter
Creates a setter for the specified method.
MILLISECOND - Enum constant in enum class me.ahoo.cosid.spring.boot.starter.snowflake.SnowflakeIdProperties.IdDefinition.TimestampUnit
 
MillisecondSnowflakeId - Class in me.ahoo.cosid.snowflake
Millisecond-precision Snowflake ID generator.
MillisecondSnowflakeId(int) - Constructor for class me.ahoo.cosid.snowflake.MillisecondSnowflakeId
Create a new MillisecondSnowflakeId with default configuration.
MillisecondSnowflakeId(int, int) - Constructor for class me.ahoo.cosid.snowflake.MillisecondSnowflakeId
Create a new MillisecondSnowflakeId with custom machine bit configuration.
MillisecondSnowflakeId(long, int, int, int, int) - Constructor for class me.ahoo.cosid.snowflake.MillisecondSnowflakeId
Create a new MillisecondSnowflakeId with custom bit configuration.
MillisecondSnowflakeId(long, int, int, int, int, long) - Constructor for class me.ahoo.cosid.snowflake.MillisecondSnowflakeId
Create a new MillisecondSnowflakeId with full custom configuration.
MillisecondSnowflakeIdStateParser - Class in me.ahoo.cosid.snowflake
Parser for millisecond-based SnowflakeId state.
MillisecondSnowflakeIdStateParser(long, int, int, int) - Constructor for class me.ahoo.cosid.snowflake.MillisecondSnowflakeIdStateParser
Creates a parser with default zone and no padding.
MillisecondSnowflakeIdStateParser(long, int, int, int, ZoneId, boolean) - Constructor for class me.ahoo.cosid.snowflake.MillisecondSnowflakeIdStateParser
Creates a parser with custom zone and padding.
Mock() - Constructor for class me.ahoo.cosid.segment.IdSegmentDistributor.Mock
Create a new Mock distributor with default configuration.
Mock(long, int) - Constructor for class me.ahoo.cosid.segment.IdSegmentDistributor.Mock
Create a new Mock distributor with custom configuration.
MockIdGenerator - Class in me.ahoo.cosid.test
Mock ID Generator for test.
MockIdGenerator(String) - Constructor for class me.ahoo.cosid.test.MockIdGenerator
 
mockInstance(int, boolean) - Static method in class me.ahoo.cosid.test.machine.distributor.MachineIdDistributorSpec
 
ModCycle<T extends Number & Comparable<T>> - Class in me.ahoo.cosid.sharding
Modulo-based cyclical sharding algorithm.
ModCycle(int, String) - Constructor for class me.ahoo.cosid.sharding.ModCycle
Creates a ModCycle sharding algorithm.
ModSpec - Class in me.ahoo.cosid.test
 
ModSpec(int, int, double, LongSupplier, Runnable) - Constructor for class me.ahoo.cosid.test.ModSpec
 
Mongo() - Constructor for class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.Mongo
 
Mongo() - Constructor for class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Distributor.Mongo
 
MONGO - Enum constant in enum class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.Distributor.Type
MongoDB-based distribution.
MONGO - Enum constant in enum class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Distributor.Type
 
MongoIdSegmentCollection - Class in me.ahoo.cosid.mongo
 
MongoIdSegmentCollection(MongoCollection<Document>) - Constructor for class me.ahoo.cosid.mongo.MongoIdSegmentCollection
 
MongoIdSegmentDistributor - Class in me.ahoo.cosid.mongo
Mongo IdSegment Distributor.
MongoIdSegmentDistributor(String, String, long, IdSegmentCollection) - Constructor for class me.ahoo.cosid.mongo.MongoIdSegmentDistributor
 
MongoIdSegmentDistributorFactory - Class in me.ahoo.cosid.mongo
Mongo IdSegment Distributor Factory.
MongoIdSegmentDistributorFactory(MongoDatabase) - Constructor for class me.ahoo.cosid.mongo.MongoIdSegmentDistributorFactory
 
MongoIdSegmentInitializer - Class in me.ahoo.cosid.mongo
 
MongoIdSegmentInitializer(MongoDatabase) - Constructor for class me.ahoo.cosid.mongo.MongoIdSegmentInitializer
 
MongoLauncher - Class in me.ahoo.cosid.test.container
 
MongoLauncher() - Constructor for class me.ahoo.cosid.test.container.MongoLauncher
 
MongoMachineCollection - Class in me.ahoo.cosid.mongo
 
MongoMachineCollection(MongoCollection<Document>) - Constructor for class me.ahoo.cosid.mongo.MongoMachineCollection
 
mongoMachineIdDistributor(MachineCollection, MachineStateStorage, ClockBackwardsSynchronizer) - Method in class me.ahoo.cosid.spring.boot.starter.machine.CosIdMongoMachineIdDistributorAutoConfiguration
 
MongoMachineIdDistributor - Class in me.ahoo.cosid.mongo
 
MongoMachineIdDistributor(MachineCollection, MachineStateStorage, ClockBackwardsSynchronizer) - Constructor for class me.ahoo.cosid.mongo.MongoMachineIdDistributor
 
MongoMachineInitializer - Class in me.ahoo.cosid.mongo
 
MongoMachineInitializer(MongoDatabase) - Constructor for class me.ahoo.cosid.mongo.MongoMachineInitializer
 
MongoReactiveIdSegmentCollection - Class in me.ahoo.cosid.mongo.reactive
 
MongoReactiveIdSegmentCollection(MongoCollection<Document>) - Constructor for class me.ahoo.cosid.mongo.reactive.MongoReactiveIdSegmentCollection
 
MongoReactiveIdSegmentDistributorFactory - Class in me.ahoo.cosid.mongo.reactive
 
MongoReactiveIdSegmentDistributorFactory(MongoDatabase) - Constructor for class me.ahoo.cosid.mongo.reactive.MongoReactiveIdSegmentDistributorFactory
 
MongoReactiveIdSegmentInitializer - Class in me.ahoo.cosid.mongo.reactive
 
MongoReactiveIdSegmentInitializer(MongoDatabase) - Constructor for class me.ahoo.cosid.mongo.reactive.MongoReactiveIdSegmentInitializer
 
MongoReactiveMachineCollection - Class in me.ahoo.cosid.mongo.reactive
 
MongoReactiveMachineCollection(MongoCollection<Document>) - Constructor for class me.ahoo.cosid.mongo.reactive.MongoReactiveMachineCollection
 
MongoReactiveMachineInitializer - Class in me.ahoo.cosid.mongo.reactive
 
MongoReactiveMachineInitializer(MongoDatabase) - Constructor for class me.ahoo.cosid.mongo.reactive.MongoReactiveMachineInitializer
 
MultipleIdNotSupportException - Exception in me.ahoo.cosid.accessor
Exception thrown when an entity has multiple @CosId fields.
MultipleIdNotSupportException(Class<?>) - Constructor for exception me.ahoo.cosid.accessor.MultipleIdNotSupportException
Creates a new exception.

N

name - Variable in exception me.ahoo.cosid.jdbc.exception.NotFoundMaxIdException
 
NamedDefinitionParser - Class in me.ahoo.cosid.accessor.parser
Parses fields by name to create IdDefinition.
NamedDefinitionParser(String) - Constructor for class me.ahoo.cosid.accessor.parser.NamedDefinitionParser
Creates a parser for the specified field name.
NAMESPACE_FIELD - Static variable in interface me.ahoo.cosid.mongo.MachineOperates
 
NamespacedInstanceId - Class in me.ahoo.cosid.machine
Combines namespace with instance ID for unique identification.
NamespacedInstanceId(String, InstanceId) - Constructor for class me.ahoo.cosid.machine.NamespacedInstanceId
Creates a new namespaced instance ID.
namespacedMachineId(String, int) - Static method in interface me.ahoo.cosid.machine.MachineIdDistributor
Generate a namespaced machine ID string.
Namespaces - Class in me.ahoo.cosid.spring.boot.starter
Utility class for namespace operations in CosId configuration.
NEVER - Enum constant in enum class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.IdDefinition.GroupBy
 
NEVER - Static variable in class me.ahoo.cosid.segment.grouped.GroupedKey
Sentinel value indicating no grouping.
newCustom() - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDecorator
 
newIdGenerator(IdConverter) - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDecorator
 
newIdGenerator(IdConverter) - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdConverterDecorator
 
newIdGenerator(IdConverter) - Method in class me.ahoo.cosid.spring.boot.starter.snowflake.SnowflakeIdConverterDecorator
 
newRadix() - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDecorator
 
newRadix36() - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDecorator
 
newRoot(boolean) - Static method in class me.ahoo.cosid.segment.IdSegmentChain
Creates a new root chain.
newSnowflakeFriendly() - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDecorator
 
newSnowflakeFriendly() - Method in class me.ahoo.cosid.spring.boot.starter.snowflake.SnowflakeIdConverterDecorator
 
newToString(IdConverter) - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDecorator
 
next(LocalDateTime) - Method in class me.ahoo.cosid.sharding.IntervalStep
Calculates the next time by adding the interval.
nextIdSegment() - Method in class me.ahoo.cosid.segment.grouped.DefaultGroupedIdSegmentDistributor
 
nextIdSegment() - Method in interface me.ahoo.cosid.segment.IdSegmentDistributor
Allocate the next ID segment with infinite time-to-live.
nextIdSegment() - Method in class me.ahoo.cosid.test.segment.distributor.GroupedIdSegmentDistributorSpec
 
nextIdSegment() - Method in class me.ahoo.cosid.test.segment.distributor.IdSegmentDistributorSpec
 
nextIdSegment(int, long) - Method in class me.ahoo.cosid.segment.grouped.DefaultGroupedIdSegmentDistributor.GroupedBinding
 
nextIdSegment(int, long) - Method in class me.ahoo.cosid.segment.grouped.DefaultGroupedIdSegmentDistributor
 
nextIdSegment(int, long) - Method in interface me.ahoo.cosid.segment.IdSegmentDistributor
Allocate the next ID segment with multiple segments and specified time-to-live.
nextIdSegment(long) - Method in class me.ahoo.cosid.segment.grouped.DefaultGroupedIdSegmentDistributor.GroupedBinding
 
nextIdSegment(long) - Method in class me.ahoo.cosid.segment.grouped.DefaultGroupedIdSegmentDistributor
 
nextIdSegment(long) - Method in interface me.ahoo.cosid.segment.IdSegmentDistributor
Allocate the next ID segment with the specified time-to-live.
nextIdSegmentChain() - Method in class me.ahoo.cosid.test.segment.distributor.GroupedIdSegmentDistributorSpec
 
nextIdSegmentChain() - Method in class me.ahoo.cosid.test.segment.distributor.IdSegmentDistributorSpec
 
nextIdSegmentChain(IdSegmentChain) - Method in class me.ahoo.cosid.segment.grouped.DefaultGroupedIdSegmentDistributor
 
nextIdSegmentChain(IdSegmentChain) - Method in interface me.ahoo.cosid.segment.IdSegmentDistributor
Allocate the next ID segment chain with default configuration.
nextIdSegmentChain(IdSegmentChain, int, long) - Method in class me.ahoo.cosid.segment.grouped.DefaultGroupedIdSegmentDistributor.GroupedBinding
 
nextIdSegmentChain(IdSegmentChain, int, long) - Method in class me.ahoo.cosid.segment.grouped.DefaultGroupedIdSegmentDistributor
 
nextIdSegmentChain(IdSegmentChain, int, long) - Method in interface me.ahoo.cosid.segment.IdSegmentDistributor
Allocate the next ID segment chain with custom configuration.
NextIdSegmentExpiredException - Exception in me.ahoo.cosid.segment
Exception thrown when a next ID segment is invalid.
NextIdSegmentExpiredException(IdSegment, IdSegment) - Constructor for exception me.ahoo.cosid.segment.NextIdSegmentExpiredException
Creates a new exception.
nextIdSegmentWithSegmentsAndTtl() - Method in class me.ahoo.cosid.test.segment.distributor.IdSegmentDistributorSpec
 
nextIdSegmentWithTtl() - Method in class me.ahoo.cosid.test.segment.distributor.IdSegmentDistributorSpec
 
nextMachineId(String) - Method in interface me.ahoo.cosid.mongo.MachineCollection
 
nextMachineId(String) - Method in class me.ahoo.cosid.mongo.MongoMachineCollection
 
nextMachineId(String) - Method in class me.ahoo.cosid.mongo.reactive.MongoReactiveMachineCollection
 
nextMachineIdPipeline(String) - Static method in interface me.ahoo.cosid.mongo.MachineOperates
 
nextMaxId() - Method in class me.ahoo.cosid.segment.grouped.DefaultGroupedIdSegmentDistributor
 
nextMaxId() - Method in interface me.ahoo.cosid.segment.IdSegmentDistributor
Allocate the next maximum ID using the default step size.
nextMaxId() - Method in class me.ahoo.cosid.test.segment.distributor.IdSegmentDistributorSpec
 
nextMaxId(long) - Method in class me.ahoo.cosid.jdbc.JdbcIdSegmentDistributor
 
nextMaxId(long) - Method in class me.ahoo.cosid.mongo.MongoIdSegmentDistributor
 
nextMaxId(long) - Method in class me.ahoo.cosid.proxy.ProxyIdSegmentDistributor
 
nextMaxId(long) - Method in class me.ahoo.cosid.segment.grouped.DefaultGroupedIdSegmentDistributor.GroupedBinding
 
nextMaxId(long) - Method in class me.ahoo.cosid.segment.grouped.DefaultGroupedIdSegmentDistributor
 
nextMaxId(long) - Method in class me.ahoo.cosid.segment.IdSegmentDistributor.Atomic
Allocate the next maximum ID for the specified step size.
nextMaxId(long) - Method in class me.ahoo.cosid.segment.IdSegmentDistributor.Mock
Allocate the next maximum ID for the specified step size.
nextMaxId(long) - Method in interface me.ahoo.cosid.segment.IdSegmentDistributor
Allocate the next maximum ID for the specified step size.
nextMaxId(long) - Method in class me.ahoo.cosid.spring.redis.SpringRedisIdSegmentDistributor
 
nextMaxId(long) - Method in class me.ahoo.cosid.zookeeper.ZookeeperIdSegmentDistributor
 
nextMaxId(String, String, long) - Method in interface me.ahoo.cosid.proxy.api.SegmentApi
 
nextMaxIdConcurrent() - Method in class me.ahoo.cosid.test.segment.distributor.IdSegmentDistributorSpec
 
nextMaxIdWhenBack() - Method in class me.ahoo.cosid.test.segment.distributor.GroupedIdSegmentDistributorSpec
 
nextMaxIdWhenBack() - Method in class me.ahoo.cosid.test.segment.distributor.IdSegmentDistributorSpec
 
nextMaxIdWithStep() - Method in class me.ahoo.cosid.test.segment.distributor.IdSegmentDistributorSpec
 
nextTime() - Method in class me.ahoo.cosid.snowflake.AbstractSnowflakeId
Waits until the current time is greater than the last timestamp.
None() - Constructor for class me.ahoo.cosid.machine.MachineIdGuarder.None
 
NONE - Static variable in class me.ahoo.cosid.machine.InstanceId
Sentinel value representing no instance.
NONE - Static variable in interface me.ahoo.cosid.machine.MachineIdGuarder
 
NOT_FOUND - Static variable in interface me.ahoo.cosid.accessor.CosIdAccessor
A sentinel value representing a "not found" accessor.
NOT_FOUND - Static variable in class me.ahoo.cosid.accessor.IdDefinition
A sentinel value representing a "not found" ID definition.
NOT_FOUND - Static variable in class me.ahoo.cosid.machine.MachineState
A sentinel value representing a "not found" machine state.
NOT_FOUND_LAST_STAMP - Static variable in class me.ahoo.cosid.machine.AbstractMachineIdDistributor
 
NOT_FOUND_MACHINE_STATE - Static variable in class me.ahoo.cosid.proxy.api.ErrorResponse
 
NOT_SET - Static variable in class me.ahoo.cosid.segment.IdSegmentChain
Sentinel value indicating next has not been set.
NotFound() - Constructor for class me.ahoo.cosid.accessor.CosIdAccessor.NotFound
 
NotFoundIdGeneratorException - Exception in me.ahoo.cosid.provider
Exception thrown when an ID generator is not found.
NotFoundIdGeneratorException(String) - Constructor for exception me.ahoo.cosid.provider.NotFoundIdGeneratorException
Creates a new exception.
NotFoundMachineStateException - Exception in me.ahoo.cosid.machine
Exception thrown when machine state is not found.
NotFoundMachineStateException(String, InstanceId) - Constructor for exception me.ahoo.cosid.machine.NotFoundMachineStateException
Creates a new exception.
NotFoundMaxIdException - Exception in me.ahoo.cosid.jdbc.exception
Not Found Max Id Exception.
NotFoundMaxIdException(String) - Constructor for exception me.ahoo.cosid.jdbc.exception.NotFoundMaxIdException
 

O

OBJECT_MAPPER - Static variable in class me.ahoo.cosid.proxy.Jsons
 
of(boolean, int) - Static method in class me.ahoo.cosid.converter.Radix36IdConverter
Gets an instance with specified parameters.
of(boolean, int) - Static method in class me.ahoo.cosid.converter.Radix62IdConverter
Get a Radix62IdConverter instance with the specified parameters.
of(int) - Static method in class me.ahoo.cosid.machine.MachineState
Create a new MachineState with the specified machine ID and current timestamp.
of(int, long) - Static method in class me.ahoo.cosid.machine.MachineState
Create a new MachineState with the specified machine ID and timestamp.
of(String) - Static method in class me.ahoo.cosid.machine.MachineState
Create a new MachineState from its string representation.
of(String, boolean) - Static method in class me.ahoo.cosid.machine.InstanceId
Creates an InstanceId from an instance ID string.
of(String, int, boolean) - Static method in class me.ahoo.cosid.machine.InstanceId
Creates an InstanceId from host and port.
of(String, String) - Static method in class me.ahoo.cosid.proxy.api.ErrorResponse
 
of(ChronoUnit) - Static method in class me.ahoo.cosid.sharding.IntervalStep
Creates an interval step with default amount of 1.
of(ChronoUnit, int) - Static method in class me.ahoo.cosid.sharding.IntervalStep
Creates an interval step with custom amount.
of(SnowflakeId) - Static method in class me.ahoo.cosid.snowflake.MillisecondSnowflakeIdStateParser
 
of(SnowflakeId) - Static method in class me.ahoo.cosid.snowflake.SecondSnowflakeIdStateParser
 
of(SnowflakeId) - Static method in class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
Creates a parser for the given SnowflakeId instance.
of(SnowflakeId, ZoneId) - Static method in class me.ahoo.cosid.snowflake.MillisecondSnowflakeIdStateParser
 
of(SnowflakeId, ZoneId) - Static method in class me.ahoo.cosid.snowflake.SecondSnowflakeIdStateParser
 
of(SnowflakeId, ZoneId, boolean) - Static method in class me.ahoo.cosid.snowflake.MillisecondSnowflakeIdStateParser
 
of(SnowflakeId, ZoneId, boolean) - Static method in class me.ahoo.cosid.snowflake.SecondSnowflakeIdStateParser
 
of(SnowflakeId, ZoneId, boolean) - Static method in class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
Creates a parser for the given SnowflakeId instance with custom settings.
ofFriendlyId(String) - Method in interface me.ahoo.cosid.snowflake.SnowflakeFriendlyId
Parses a friendly ID string to state.
offset(char) - Static method in class me.ahoo.cosid.converter.RadixIdConverter
Gets the offset value for a digit character.
offsetUnit(LocalDateTime, LocalDateTime) - Method in class me.ahoo.cosid.sharding.IntervalStep
Calculates the offset from start to time in unit increments.
ofMillisecond(int) - Static method in class me.ahoo.cosid.snowflake.SafeJavaScriptSnowflakeId
Creates a safe millisecond SnowflakeId with default safe configuration.
ofMillisecond(long, int, int, int, int, long) - Static method in class me.ahoo.cosid.snowflake.SafeJavaScriptSnowflakeId
Creates a safe millisecond SnowflakeId.
ofSecond(int) - Static method in class me.ahoo.cosid.snowflake.SafeJavaScriptSnowflakeId
Creates a safe second SnowflakeId with default safe configuration.
ofSecond(long, int, int, int, int, long) - Static method in class me.ahoo.cosid.snowflake.SafeJavaScriptSnowflakeId
Creates a safe second SnowflakeId.
onBeforeConvert(Object) - Method in class me.ahoo.cosid.spring.data.jdbc.CosIdBeforeConvertCallback
 
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
The default step size for segment allocation (1 ID at a time).
originalId() - Method in exception me.ahoo.cosid.uncertainty.OriginalIdOverflowException
Gets the original ID.
originalIdBits() - Method in exception me.ahoo.cosid.uncertainty.OriginalIdOverflowException
Gets the original ID bits.
originalIdBits() - Method in class me.ahoo.cosid.uncertainty.UncertaintyIdGenerator
 
OriginalIdOverflowException - Exception in me.ahoo.cosid.uncertainty
Exception thrown when original ID exceeds maximum representable value.
OriginalIdOverflowException(long, int, long) - Constructor for exception me.ahoo.cosid.uncertainty.OriginalIdOverflowException
Creates a new exception.
OVERFLOW - Static variable in class me.ahoo.cosid.segment.DefaultIdSegment
A sentinel value representing an overflow segment.

P

PAD_CHAR - Static variable in class me.ahoo.cosid.converter.RadixIdConverter
Padding character for fixed-width output.
PAD_START - Static variable in class me.ahoo.cosid.converter.Radix36IdConverter
Shared instance with padding.
PAD_START - Static variable in class me.ahoo.cosid.converter.Radix62IdConverter
A shared instance with padding.
padStart - Variable in class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
Whether to pad numeric fields with leading zeros.
parse(long) - Method in class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
Parses a raw snowflake ID into SnowflakeIdState.
parse(Class<?>) - Method in interface me.ahoo.cosid.accessor.parser.CosIdAccessorParser
Parses a class to create its accessor.
parse(Class<?>) - Method in class me.ahoo.cosid.accessor.parser.DefaultAccessorParser
 
parse(String) - Method in class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
Parses a friendly ID string into SnowflakeIdState.
parse(List<Class<?>>, Field) - Method in class me.ahoo.cosid.accessor.parser.CompositeFieldDefinitionParser
 
parse(List<Class<?>>, Field) - Method in interface me.ahoo.cosid.accessor.parser.FieldDefinitionParser
Parses a field to create its ID definition.
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(List<Class<?>>, Field) - Method in class me.ahoo.cosid.spring.data.jdbc.IdAnnotationDefinitionParser
 
parseClass(Class<?>) - Method in class me.ahoo.cosid.accessor.parser.DefaultAccessorParser
 
parseGetter(Field) - Static method in class me.ahoo.cosid.accessor.parser.DefaultAccessorParser
Parses a getter method for a field.
parseMachineId(long) - Method in class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
Extracts the machine ID portion of an ID.
parseSequence(long) - Method in class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
Extracts the sequence portion of an ID.
parseSetter(Field) - Static method in class me.ahoo.cosid.accessor.parser.DefaultAccessorParser
Parses a setter method for a field.
parseTimestamp(long) - Method in class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
Extracts and parses the timestamp portion of an ID.
PreciseSharding<T extends Comparable<?>> - Interface in me.ahoo.cosid.sharding
Single-value sharding algorithm interface.
prefetch() - Method in class me.ahoo.cosid.segment.SegmentChainId.PrefetchJob
Perform the prefetching logic.
PrefetchJob(IdSegmentChain) - Constructor for class me.ahoo.cosid.segment.SegmentChainId.PrefetchJob
Create a new prefetch job for the specified tail chain.
PrefetchWorker - Interface in me.ahoo.cosid.segment.concurrent
Worker for prefetching ID segments.
PrefetchWorker() - Constructor for class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Chain.PrefetchWorker
 
prefetchWorkerExecutorService() - Method in class me.ahoo.cosid.spring.boot.starter.segment.CosIdSegmentAutoConfiguration
 
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
 
PREFIX - Static variable in class me.ahoo.cosid.spring.boot.starter.cosid.CosIdGeneratorProperties
The configuration property prefix for CosId generator properties.
PREFIX - Static variable in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties
The configuration property prefix for machine properties.
PREFIX - Static variable in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties
The configuration property prefix for segment ID properties.
PREFIX - Static variable in class me.ahoo.cosid.spring.boot.starter.snowflake.SnowflakeIdProperties
 
PREFIX - Static variable in class me.ahoo.cosid.spring.boot.starter.zookeeper.CosIdZookeeperProperties
 
PrefixConverterStat - Class in me.ahoo.cosid.stat.converter
Prefix converter stat with prefix configuration.
PrefixConverterStat() - Constructor for class me.ahoo.cosid.stat.converter.PrefixConverterStat
 
PrefixIdConverter - Class in me.ahoo.cosid.converter
Converter that prepends a fixed prefix to string IDs.
PrefixIdConverter(String, IdConverter) - Constructor for class me.ahoo.cosid.converter.PrefixIdConverter
Creates a prefix converter.
ProcessId - Enum Class in me.ahoo.cosid.util
Utility for getting current process information.
PROXY - Enum constant in enum class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.Distributor.Type
Proxy service-based distribution.
PROXY - Enum constant in enum class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Distributor.Type
 
ProxyIdSegmentDistributor - Class in me.ahoo.cosid.proxy
ProxyIdSegmentDistributor .
ProxyIdSegmentDistributor(SegmentClient, String, String, long) - Constructor for class me.ahoo.cosid.proxy.ProxyIdSegmentDistributor
 
ProxyIdSegmentDistributorFactory - Class in me.ahoo.cosid.proxy
ProxyIdSegmentDistributorFactory .
ProxyIdSegmentDistributorFactory(SegmentClient) - Constructor for class me.ahoo.cosid.proxy.ProxyIdSegmentDistributorFactory
 
proxyMachineIdDistributor(MachineClient, MachineStateStorage, ClockBackwardsSynchronizer) - Method in class me.ahoo.cosid.spring.boot.starter.machine.CosIdProxyMachineIdDistributorAutoConfiguration
 
ProxyMachineIdDistributor - Class in me.ahoo.cosid.proxy
ProxyMachineIdDistributor .
ProxyMachineIdDistributor(MachineClient, MachineStateStorage, ClockBackwardsSynchronizer) - Constructor for class me.ahoo.cosid.proxy.ProxyMachineIdDistributor
 
ProxyProperties - Class in me.ahoo.cosid.spring.boot.starter
Configuration properties for CosId proxy server connection.
ProxyProperties() - Constructor for class me.ahoo.cosid.spring.boot.starter.ProxyProperties
 

R

Radix() - Constructor for class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition.Radix
 
RADIX - Enum constant in enum class me.ahoo.cosid.jackson.AsString.Type
 
RADIX - Enum constant in enum class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition.Type
Base62 radix conversion for compact alphanumeric IDs.
RADIX - Static variable in class me.ahoo.cosid.converter.Radix36IdConverter
Radix value (36).
RADIX - Static variable in class me.ahoo.cosid.converter.Radix62IdConverter
The radix (base) used for conversion: 62 characters.
Radix36() - Constructor for class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition.Radix36
 
RADIX36 - Enum constant in enum class me.ahoo.cosid.spring.boot.starter.cosid.CosIdGeneratorProperties.Type
Radix36 generator using base36 encoding (0-9, A-Z).
RADIX36 - Enum constant in enum class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition.Type
Base36 radix conversion for uppercase alphanumeric IDs.
Radix36CosIdGenerator - Class in me.ahoo.cosid.cosid
CosIdGenerator using radix-36 string encoding.
Radix36CosIdGenerator(int) - Constructor for class me.ahoo.cosid.cosid.Radix36CosIdGenerator
Creates a generator with default configuration.
Radix36CosIdGenerator(int, int, int, int, int) - Constructor for class me.ahoo.cosid.cosid.Radix36CosIdGenerator
Creates a generator with custom configuration.
Radix36IdConverter - Class in me.ahoo.cosid.converter
Radix-36 string ID converter using characters 0-9 and A-Z.
Radix36IdConverter(boolean, int) - Constructor for class me.ahoo.cosid.converter.Radix36IdConverter
Creates a new converter.
RADIX62 - Enum constant in enum class me.ahoo.cosid.spring.boot.starter.cosid.CosIdGeneratorProperties.Type
Radix62 generator using base62 encoding (0-9, A-Z, a-z).
Radix62CosIdGenerator - Class in me.ahoo.cosid.cosid
CosIdGenerator using radix-62 string encoding.
Radix62CosIdGenerator(int) - Constructor for class me.ahoo.cosid.cosid.Radix62CosIdGenerator
Creates a generator with default configuration.
Radix62CosIdGenerator(int, int, int, int, int) - Constructor for class me.ahoo.cosid.cosid.Radix62CosIdGenerator
Creates a generator with custom configuration.
Radix62IdConverter - Class in me.ahoo.cosid.converter
62-bit radix string ID converter that converts long IDs to compact string representations.
Radix62IdConverter(boolean, int) - Constructor for class me.ahoo.cosid.converter.Radix62IdConverter
Create a new Radix62IdConverter with the specified configuration.
radixCharSize() - Element in annotation interface me.ahoo.cosid.jackson.AsString
 
RadixConverterStat - Class in me.ahoo.cosid.stat.converter
Radix converter stat with radix configuration.
RadixConverterStat() - Constructor for class me.ahoo.cosid.stat.converter.RadixConverterStat
 
RadixCosIdGenerator - Class in me.ahoo.cosid.cosid
Radix-based CosIdGenerator implementation.
RadixCosIdGenerator(int, int, int, int, int, CosIdIdStateParser) - Constructor for class me.ahoo.cosid.cosid.RadixCosIdGenerator
Creates a new RadixCosIdGenerator.
RadixCosIdStateParser - Class in me.ahoo.cosid.cosid
Parser for converting CosIdState to String and vice versa.
RadixCosIdStateParser(RadixIdConverter, RadixIdConverter, RadixIdConverter) - Constructor for class me.ahoo.cosid.cosid.RadixCosIdStateParser
 
RadixIdConverter - Class in me.ahoo.cosid.converter
Abstract base for radix-based ID converters.
RadixIdConverter(boolean, int) - Constructor for class me.ahoo.cosid.converter.RadixIdConverter
Creates a new RadixIdConverter.
radixPadStart() - Element in annotation interface me.ahoo.cosid.jackson.AsString
 
RangeSharding<T extends Comparable<?>> - Interface in me.ahoo.cosid.sharding
Range-based sharding algorithm interface.
Redis() - Constructor for class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.Redis
 
Redis() - Constructor for class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Distributor.Redis
 
REDIS - Enum constant in enum class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.Distributor.Type
Redis-based distribution.
REDIS - Enum constant in enum class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Distributor.Type
 
register() - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdBeanRegistrar
 
register() - Method in class me.ahoo.cosid.spring.boot.starter.snowflake.SnowflakeIdBeanRegistrar
 
register(Class<?>) - Method in interface me.ahoo.cosid.accessor.registry.CosIdAccessorRegistry
Registers a class, parsing its accessor from annotations.
register(Class<?>) - Method in class me.ahoo.cosid.accessor.registry.DefaultAccessorRegistry
 
register(Class<?>, CosIdAccessor) - Method in interface me.ahoo.cosid.accessor.registry.CosIdAccessorRegistry
Registers a class with a specific accessor.
register(Class<?>, CosIdAccessor) - Method in class me.ahoo.cosid.accessor.registry.DefaultAccessorRegistry
 
register(String, InstanceId) - Method in class me.ahoo.cosid.machine.DefaultMachineIdGuarder
Registers an instance ID within a specific namespace.
register(String, InstanceId) - Method in class me.ahoo.cosid.machine.MachineIdGuarder.None
 
register(String, InstanceId) - Method in interface me.ahoo.cosid.machine.MachineIdGuarder
Registers an instance ID within a specific namespace.
remove(Object) - Method in class me.ahoo.cosid.sharding.ExactCollection
 
remove(String) - Method in class me.ahoo.cosid.provider.DefaultIdGeneratorProvider
 
remove(String) - Method in interface me.ahoo.cosid.provider.IdGeneratorProvider
Remove an ID generator by its name.
remove(String) - Method in class me.ahoo.cosid.spring.boot.starter.actuate.CosIdEndpoint
 
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
Removes the machine state for a given namespace and instance.
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 the shared (default) ID generator.
requiredGet() - Static method in class me.ahoo.cosid.segment.grouped.GroupedAccessor
Gets the grouped key, throwing if not set.
resolveMachineId() - Static method in class me.ahoo.cosid.machine.k8s.StatefulSetMachineIdDistributor
 
retainAll(Collection<?>) - Method in class me.ahoo.cosid.sharding.ExactCollection
 
Retry() - Constructor for class me.ahoo.cosid.spring.boot.starter.zookeeper.CosIdZookeeperProperties.Retry
 
revert() - Method in class me.ahoo.cosid.test.machine.distributor.MachineIdDistributorSpec
 
revert(String, String, boolean) - Method in interface me.ahoo.cosid.proxy.api.MachineApi
 
revert(String, InstanceId) - Method in class me.ahoo.cosid.machine.AbstractMachineIdDistributor
1.
revert(String, InstanceId) - Method in interface me.ahoo.cosid.machine.MachineIdDistributor
Revert (release) a previously allocated machine ID.
revert(String, InstanceId, MachineState) - Method in interface me.ahoo.cosid.mongo.MachineCollection
 
revert(String, InstanceId, MachineState) - Method in class me.ahoo.cosid.mongo.MongoMachineCollection
 
revert(String, InstanceId, MachineState) - Method in class me.ahoo.cosid.mongo.reactive.MongoReactiveMachineCollection
 
Revert - Class in me.ahoo.cosid.test.machine.distributor
Revert .
Revert(Supplier<MachineIdDistributor>, int) - Constructor for class me.ahoo.cosid.test.machine.distributor.Revert
 
REVERT_TIME_FIELD - Static variable in interface me.ahoo.cosid.mongo.MachineOperates
 
revertFilter(String, InstanceId, MachineState) - Static method in interface me.ahoo.cosid.mongo.MachineOperates
 
revertRemote(String, InstanceId, MachineState) - Method in class me.ahoo.cosid.jdbc.JdbcMachineIdDistributor
 
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
 
revertRemote(String, InstanceId, MachineState) - Method in class me.ahoo.cosid.mongo.MongoMachineIdDistributor
 
revertRemote(String, InstanceId, MachineState) - Method in class me.ahoo.cosid.proxy.ProxyMachineIdDistributor
 
revertRemote(String, InstanceId, MachineState) - Method in class me.ahoo.cosid.spring.redis.SpringRedisMachineIdDistributor
when InstanceId.isStable() is true,do not revert machineId.
revertRemote(String, InstanceId, MachineState) - Method in class me.ahoo.cosid.zookeeper.ZookeeperMachineIdDistributor
 
revertUpdate(InstanceId, MachineState) - Static method in interface me.ahoo.cosid.mongo.MachineOperates
 
ROOT_VERSION - Static variable in class me.ahoo.cosid.segment.IdSegmentChain
Version number for the root chain.
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 the prefetch job.
run() - Method in class me.ahoo.cosid.test.ModSpec
 
run() - Method in class me.ahoo.cosid.util.Clock.CacheClock
 

S

SafeJavaScriptSnowflakeId - Class in me.ahoo.cosid.snowflake
Safe JavaScript Snowflake ID generators.
SafeJavaScriptSnowflakeId() - Constructor for class me.ahoo.cosid.snowflake.SafeJavaScriptSnowflakeId
 
scan() - Method in interface me.ahoo.cosid.accessor.scanner.CosIdScanner
Scans and registers qualified classes.
scan() - Method in class me.ahoo.cosid.accessor.scanner.DefaultCosIdScanner
 
SECOND - Enum constant in enum class me.ahoo.cosid.spring.boot.starter.snowflake.SnowflakeIdProperties.IdDefinition.TimestampUnit
 
SecondSnowflakeId - Class in me.ahoo.cosid.snowflake
Second-based Snowflake ID generator.
SecondSnowflakeId(int) - Constructor for class me.ahoo.cosid.snowflake.SecondSnowflakeId
Creates a SecondSnowflakeId with default configuration.
SecondSnowflakeId(int, int) - Constructor for class me.ahoo.cosid.snowflake.SecondSnowflakeId
Creates a SecondSnowflakeId with custom machine bits.
SecondSnowflakeId(long, int, int, int, int) - Constructor for class me.ahoo.cosid.snowflake.SecondSnowflakeId
Creates a SecondSnowflakeId with custom bit configuration.
SecondSnowflakeId(long, int, int, int, int, long) - Constructor for class me.ahoo.cosid.snowflake.SecondSnowflakeId
Creates a SecondSnowflakeId with full custom configuration.
SecondSnowflakeIdStateParser - Class in me.ahoo.cosid.snowflake
Parser for second-based SnowflakeId state.
SecondSnowflakeIdStateParser(long, int, int, int) - Constructor for class me.ahoo.cosid.snowflake.SecondSnowflakeIdStateParser
Creates a parser with default zone and no padding.
SecondSnowflakeIdStateParser(long, int, int, int, ZoneId, boolean) - Constructor for class me.ahoo.cosid.snowflake.SecondSnowflakeIdStateParser
Creates a parser with custom zone and padding.
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
SEGMENT - Enum constant in enum class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Mode
Basic segment mode that allocates IDs in fixed-size segments.
SegmentApi - Interface in me.ahoo.cosid.proxy.api
 
SegmentChainId - Class in me.ahoo.cosid.segment
Segment chain algorithm ID generator.
SegmentChainId(long, int, IdSegmentDistributor, PrefetchWorkerExecutorService) - Constructor for class me.ahoo.cosid.segment.SegmentChainId
Create a new SegmentChainId with custom configuration.
SegmentChainId(IdSegmentDistributor) - Constructor for class me.ahoo.cosid.segment.SegmentChainId
Create a new SegmentChainId with default configuration.
SegmentChainId.PrefetchJob - Class in me.ahoo.cosid.segment
Background prefetch job for segment chain ID generation.
SegmentClient - Interface in me.ahoo.cosid.proxy.api
 
SegmentId - Interface in me.ahoo.cosid.segment
Segment algorithm ID generator.
segmentIdBeanRegistrar(IdSegmentDistributorFactory, IdGeneratorProvider, PrefetchWorkerExecutorService, ConfigurableApplicationContext, CustomizeSegmentIdProperties) - Method in class me.ahoo.cosid.spring.boot.starter.segment.CosIdSegmentAutoConfiguration
 
SegmentIdBeanRegistrar - Class in me.ahoo.cosid.spring.boot.starter.segment
 
SegmentIdBeanRegistrar(CosIdProperties, SegmentIdProperties, IdSegmentDistributorFactory, IdGeneratorProvider, PrefetchWorkerExecutorService, ConfigurableApplicationContext, CustomizeSegmentIdProperties) - Constructor for class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdBeanRegistrar
 
SegmentIdConverterDecorator - Class in me.ahoo.cosid.spring.boot.starter.segment
 
SegmentIdConverterDecorator(SegmentId, IdConverterDefinition) - Constructor for class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdConverterDecorator
 
SegmentIdProperties - Class in me.ahoo.cosid.spring.boot.starter.segment
Configuration properties for segment-based ID generation in Spring Boot applications.
SegmentIdProperties() - Constructor for class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties
Constructs a new SegmentIdProperties instance with default configurations.
SegmentIdProperties.Chain - Class in me.ahoo.cosid.spring.boot.starter.segment
Configuration for chain-based segment ID generation.
SegmentIdProperties.Chain.PrefetchWorker - Class in me.ahoo.cosid.spring.boot.starter.segment
Configuration for the prefetch worker that manages segment prefetching.
SegmentIdProperties.Distributor - Class in me.ahoo.cosid.spring.boot.starter.segment
 
SegmentIdProperties.Distributor.Jdbc - Class in me.ahoo.cosid.spring.boot.starter.segment
 
SegmentIdProperties.Distributor.Mongo - Class in me.ahoo.cosid.spring.boot.starter.segment
 
SegmentIdProperties.Distributor.Redis - Class in me.ahoo.cosid.spring.boot.starter.segment
 
SegmentIdProperties.Distributor.Type - Enum Class in me.ahoo.cosid.spring.boot.starter.segment
 
SegmentIdProperties.IdDefinition - Class in me.ahoo.cosid.spring.boot.starter.segment
 
SegmentIdProperties.IdDefinition.Group - Class in me.ahoo.cosid.spring.boot.starter.segment
 
SegmentIdProperties.IdDefinition.GroupBy - Enum Class in me.ahoo.cosid.spring.boot.starter.segment
 
SegmentIdProperties.Mode - Enum Class in me.ahoo.cosid.spring.boot.starter.segment
Enumeration of supported segment ID generation modes.
SegmentIdProperties.ShardIdDefinition - Class in me.ahoo.cosid.spring.boot.starter.segment
 
SegmentIdStat - Class in me.ahoo.cosid.stat.generator
Segment ID generator stat with segment metadata.
SegmentIdStat() - Constructor for class me.ahoo.cosid.stat.generator.SegmentIdStat
 
SegmentNameMissingException - Exception in me.ahoo.cosid.jdbc.exception
Segment Name Missing Exception.
SegmentNameMissingException(String) - Constructor for exception me.ahoo.cosid.jdbc.exception.SegmentNameMissingException
Constructs a new runtime exception with null as its detail message.
sequence - Variable in class me.ahoo.cosid.snowflake.AbstractSnowflakeId
Current sequence counter value.
sequence(long) - Method in class me.ahoo.cosid.snowflake.SnowflakeIdState.SnowflakeIdStateBuilder
Sets the sequence number component.
SEQUENCE_OVERFLOW - Static variable in interface me.ahoo.cosid.segment.IdSegment
Special sequence value indicating overflow.
sequenceBit - Variable in class me.ahoo.cosid.snowflake.AbstractSnowflakeId
Number of bits allocated for the sequence portion.
sequenceBit - Variable in class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
Number of bits for sequence portion.
sequenceBit() - Element in annotation interface me.ahoo.cosid.jackson.AsString
 
sequenceMask - Variable in class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
Mask for extracting sequence from raw ID.
serialize(Long, JsonGenerator, SerializationContext) - Method in class me.ahoo.cosid.jackson.AsStringSerializer
 
serialize(Object) - Static method in class me.ahoo.cosid.proxy.Jsons
 
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
Sets the machine state for a given namespace and instance.
set(String, IdGenerator) - Method in class me.ahoo.cosid.provider.DefaultIdGeneratorProvider
 
set(String, IdGenerator) - Method in interface me.ahoo.cosid.provider.IdGeneratorProvider
Set an ID generator with the specified name.
set(GroupedKey) - Static method in class me.ahoo.cosid.segment.grouped.GroupedAccessor
Sets the grouped key for the current thread.
SET_PREFIX - Static variable in class me.ahoo.cosid.accessor.parser.DefaultAccessorParser
 
setBaseSleepTimeMs(int) - Method in class me.ahoo.cosid.spring.boot.starter.zookeeper.CosIdZookeeperProperties.Retry
 
setBeforePrefix(boolean) - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition.DatePrefix
 
setBeforePrefix(boolean) - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition.GroupPrefix
 
setBlockUntilConnectedWait(Duration) - Method in class me.ahoo.cosid.spring.boot.starter.zookeeper.CosIdZookeeperProperties
 
setBrokenThreshold(int) - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.ClockBackwards
Sets the broken threshold for clock validation.
setBy(SegmentIdProperties.IdDefinition.GroupBy) - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.IdDefinition.Group
 
setChain(SegmentIdProperties.Chain) - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.IdDefinition
 
setChain(SegmentIdProperties.Chain) - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties
Sets the chain configuration.
setCharSize(int) - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition.Radix
 
setCharSize(int) - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition.Radix36
 
setCharSize(int) - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition.ToString
 
setClockBackwards(MachineProperties.ClockBackwards) - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties
Sets the clock backwards configuration.
setClockSync(boolean) - Method in class me.ahoo.cosid.spring.boot.starter.snowflake.SnowflakeIdProperties.IdDefinition
 
setConnectionTimeout(Duration) - Method in class me.ahoo.cosid.spring.boot.starter.zookeeper.CosIdZookeeperProperties
 
setConnectString(String) - Method in class me.ahoo.cosid.spring.boot.starter.zookeeper.CosIdZookeeperProperties
 
setConverter(IdConverterDefinition) - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.IdDefinition
 
setConverter(IdConverterDefinition) - Method in class me.ahoo.cosid.spring.boot.starter.snowflake.SnowflakeIdProperties.IdDefinition
 
setCorePoolSize(int) - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Chain.PrefetchWorker
Sets the core pool size for the executor.
setCustom(IdConverterDefinition.Custom) - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition
Sets the custom converter configuration.
setDatabase(String) - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.Mongo
Sets the MongoDB database name.
setDatabase(String) - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Distributor.Mongo
 
setDatePrefix(IdConverterDefinition.DatePrefix) - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition
Sets the date prefix configuration.
setDelay(Duration) - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.Guarder
Sets the delay between guarding checks.
setDelimiter(String) - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition.DatePrefix
 
setDelimiter(String) - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition.GroupPrefix
 
setDistributor(MachineProperties.Distributor) - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties
Sets the distributor configuration.
setDistributor(SegmentIdProperties.Distributor) - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties
Sets the distributor configuration.
setEnableAutoInitCosidTable(boolean) - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Distributor.Jdbc
 
setEnableAutoInitIdSegment(boolean) - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Distributor.Jdbc
 
setEnabled(boolean) - Method in class me.ahoo.cosid.spring.boot.starter.cosid.CosIdGeneratorProperties
Sets whether CosId generator auto-configuration should be enabled.
setEnabled(boolean) - Method in class me.ahoo.cosid.spring.boot.starter.CosIdProperties
Sets whether CosId auto-configuration should be enabled.
setEnabled(boolean) - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition.DatePrefix
 
setEnabled(boolean) - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition.GroupPrefix
 
setEnabled(boolean) - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.Guarder
Sets whether machine ID guarding should be enabled.
setEnabled(boolean) - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties
Sets whether machine ID management should be enabled.
setEnabled(boolean) - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties
Sets whether segment ID generation should be enabled.
setEnabled(boolean) - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.ShardIdDefinition
 
setEnabled(boolean) - Method in class me.ahoo.cosid.spring.boot.starter.snowflake.SnowflakeIdProperties
 
setEnabled(boolean) - Method in class me.ahoo.cosid.spring.boot.starter.snowflake.SnowflakeIdProperties.ShardIdDefinition
 
setEnabled(boolean) - Method in class me.ahoo.cosid.spring.boot.starter.zookeeper.CosIdZookeeperProperties
 
setEpoch(long) - Method in class me.ahoo.cosid.spring.boot.starter.snowflake.SnowflakeIdProperties.IdDefinition
 
setEpoch(long) - Method in class me.ahoo.cosid.spring.boot.starter.snowflake.SnowflakeIdProperties
 
setFetchMaxIdSql(String) - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Distributor.Jdbc
 
setFriendly(IdConverterDefinition.Friendly) - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition
Sets the friendly format configuration.
setGroup(SegmentIdProperties.IdDefinition.Group) - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.IdDefinition
 
setGroupPrefix(IdConverterDefinition.GroupPrefix) - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition
Sets the group prefix configuration.
setGuarder(MachineProperties.Guarder) - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties
Sets the guarder configuration.
setHost(String) - Method in class me.ahoo.cosid.spring.boot.starter.ProxyProperties
Sets the proxy server host URL.
setHungerTime(long) - Method in interface me.ahoo.cosid.segment.concurrent.AffinityJob
Sets the hunger time for this job.
setHungerTime(long) - Method in class me.ahoo.cosid.segment.SegmentChainId.PrefetchJob
Set the hunger time for this job.
setId(Object, Object) - Method in class me.ahoo.cosid.accessor.CosIdAccessor.NotFound
Set the ID value on the target object (no-op for NotFound).
setId(Object, Object) - Method in interface me.ahoo.cosid.accessor.CosIdSetter
Sets the ID value on the target object.
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
 
setIfNotNever(GroupedKey) - Static method in class me.ahoo.cosid.segment.grouped.GroupedAccessor
Sets the grouped key if it's not NEVER.
setIncrementMaxIdSql(String) - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Distributor.Jdbc
 
setInitCosidTableSql(String) - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Distributor.Jdbc
 
setInitialDelay(Duration) - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.Guarder
Sets the initial delay before starting guarding.
setInitIdSegmentSql(String) - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Distributor.Jdbc
 
setInstanceId(String) - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties
Sets the unique instance identifier.
setJdbc(SegmentIdProperties.Distributor.Jdbc) - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Distributor
 
setLocal(MachineProperties.StateStorage.Local) - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.StateStorage
Sets the local storage configuration.
setMachineBit(int) - Method in class me.ahoo.cosid.spring.boot.starter.cosid.CosIdGeneratorProperties
Sets the number of bits allocated for machine ID.
setMachineBit(int) - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties
Sets the number of bits allocated for machine ID.
setMachineBit(Integer) - Method in class me.ahoo.cosid.spring.boot.starter.snowflake.SnowflakeIdProperties.IdDefinition
 
setMachineId(Integer) - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.Manual
Sets the manually assigned machine ID.
setManual(MachineProperties.Manual) - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.Distributor
Sets the manual configuration.
setMaxIdBack(T, long) - Method in class me.ahoo.cosid.test.segment.distributor.GroupedIdSegmentDistributorSpec
 
setMaxIdBack(T, long) - Method in class me.ahoo.cosid.test.segment.distributor.IdSegmentDistributorSpec
 
setMaxRetries(int) - Method in class me.ahoo.cosid.spring.boot.starter.zookeeper.CosIdZookeeperProperties.Retry
 
setMaxSleepMs(int) - Method in class me.ahoo.cosid.spring.boot.starter.zookeeper.CosIdZookeeperProperties.Retry
 
setMode(SegmentIdProperties.Mode) - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.IdDefinition
 
setMode(SegmentIdProperties.Mode) - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties
Sets the mode of segment ID generation.
setMongo(MachineProperties.Mongo) - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.Distributor
Sets the MongoDB configuration.
setMongo(SegmentIdProperties.Distributor.Mongo) - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Distributor
 
setNamespace(String) - Method in class me.ahoo.cosid.spring.boot.starter.cosid.CosIdGeneratorProperties
Sets the namespace for ID generation.
setNamespace(String) - Method in class me.ahoo.cosid.spring.boot.starter.CosIdProperties
Sets the namespace for ID generation.
setNamespace(String) - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.IdDefinition
 
setNamespace(String) - Method in class me.ahoo.cosid.spring.boot.starter.snowflake.SnowflakeIdProperties.IdDefinition
 
setNext(IdSegmentChain) - Method in class me.ahoo.cosid.segment.IdSegmentChain
Sets the next segment in the chain.
setOffset(long) - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.IdDefinition
 
setPadStart(boolean) - Method in class me.ahoo.cosid.spring.boot.starter.cosid.CosIdGeneratorProperties
Sets whether to pad the start of friendly format IDs.
setPadStart(boolean) - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition.Friendly
 
setPadStart(boolean) - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition.Radix
 
setPadStart(boolean) - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition.Radix36
 
setPadStart(boolean) - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition.ToString
 
setPattern(String) - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition.DatePrefix
 
setPattern(String) - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.IdDefinition.Group
 
setPort(Integer) - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties
Sets the port number for this instance.
setPrefetchPeriod(Duration) - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Chain.PrefetchWorker
Sets the prefetch period.
setPrefetchWorker(PrefetchWorker) - Method in interface me.ahoo.cosid.segment.concurrent.AffinityJob
Sets the prefetch worker for this job.
setPrefetchWorker(PrefetchWorker) - Method in class me.ahoo.cosid.segment.SegmentChainId.PrefetchJob
Set the prefetch worker for this job.
setPrefetchWorker(SegmentIdProperties.Chain.PrefetchWorker) - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Chain
Sets the prefetch worker configuration.
setPrefix(String) - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition
Sets the static prefix.
setProvider(Map<String, SegmentIdProperties.IdDefinition>) - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties
Sets the map of named ID definitions.
setProvider(Map<String, SnowflakeIdProperties.IdDefinition>) - Method in class me.ahoo.cosid.spring.boot.starter.snowflake.SnowflakeIdProperties
 
setProxy(ProxyProperties) - Method in class me.ahoo.cosid.spring.boot.starter.CosIdProperties
Sets the proxy configuration properties.
setRadix(IdConverterDefinition.Radix) - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition
Sets the radix62 configuration.
setRadix36(IdConverterDefinition.Radix36) - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition
Sets the radix36 configuration.
setRedis(MachineProperties.Redis) - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.Distributor
Sets the Redis configuration.
setRedis(SegmentIdProperties.Distributor.Redis) - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Distributor
 
setRetry(CosIdZookeeperProperties.Retry) - Method in class me.ahoo.cosid.spring.boot.starter.zookeeper.CosIdZookeeperProperties
 
setSafeDistance(int) - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Chain
Sets the safe distance for chain generation.
setSafeGuardDuration(Duration) - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.Guarder
Sets the safe guard duration.
setSequenceBit(int) - Method in class me.ahoo.cosid.spring.boot.starter.cosid.CosIdGeneratorProperties
Sets the number of bits allocated for sequence number.
setSequenceBit(int) - Method in class me.ahoo.cosid.spring.boot.starter.snowflake.SnowflakeIdProperties.IdDefinition
 
setSequenceResetThreshold(int) - Method in class me.ahoo.cosid.spring.boot.starter.cosid.CosIdGeneratorProperties
Sets the sequence reset threshold.
setSequenceResetThreshold(long) - Method in class me.ahoo.cosid.spring.boot.starter.snowflake.SnowflakeIdProperties.IdDefinition
 
setSessionTimeout(Duration) - Method in class me.ahoo.cosid.spring.boot.starter.zookeeper.CosIdZookeeperProperties
 
setShare(IdGenerator) - Method in class me.ahoo.cosid.provider.DefaultIdGeneratorProvider
 
setShare(IdGenerator) - Method in interface me.ahoo.cosid.provider.IdGeneratorProvider
Set the shared (default) ID generator.
setShare(SegmentIdProperties.ShardIdDefinition) - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties
Sets the shared ID definition configuration.
setShare(SnowflakeIdProperties.ShardIdDefinition) - Method in class me.ahoo.cosid.spring.boot.starter.snowflake.SnowflakeIdProperties
 
setShutdownHook(boolean) - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Chain.PrefetchWorker
Sets whether to enable shutdown hook.
setSpinThreshold(int) - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.ClockBackwards
Sets the spin threshold for clock synchronization.
setStable(Boolean) - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties
Sets whether the machine ID should be stable across restarts.
setStateLocation(String) - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.StateStorage.Local
Sets the file system path for state storage.
setStateStorage(MachineProperties.StateStorage) - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties
Sets the state storage configuration.
setStep(long) - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.IdDefinition
 
setSuffix(String) - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition
Sets the static suffix.
setTimeout(Duration) - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.Redis
Sets the Redis operation timeout.
setTimeout(Duration) - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Distributor.Redis
 
setTimestampBit(int) - Method in class me.ahoo.cosid.spring.boot.starter.cosid.CosIdGeneratorProperties
Sets the number of bits allocated for timestamp.
setTimestampBit(int) - Method in class me.ahoo.cosid.spring.boot.starter.snowflake.SnowflakeIdProperties.IdDefinition
 
setTimestampUnit(SnowflakeIdProperties.IdDefinition.TimestampUnit) - Method in class me.ahoo.cosid.spring.boot.starter.snowflake.SnowflakeIdProperties.IdDefinition
 
setToString(IdConverterDefinition.ToString) - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition
Sets the toString configuration.
setTtl(long) - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties
Sets the time to live for ID segments.
setTtl(Long) - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.IdDefinition
 
setType(Class<? extends IdConverter>) - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition.Custom
 
setType(CosIdGeneratorProperties.Type) - Method in class me.ahoo.cosid.spring.boot.starter.cosid.CosIdGeneratorProperties
Sets the type of CosId generator.
setType(IdConverterDefinition.Type) - Method in class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition
Sets the converter type.
setType(MachineProperties.Distributor.Type) - Method in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.Distributor
Sets the distributor type.
setType(SegmentIdProperties.Distributor.Type) - Method in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Distributor
 
setZoneId(String) - Method in class me.ahoo.cosid.spring.boot.starter.snowflake.SnowflakeIdProperties
 
setZoneId(ZoneId) - Method in class me.ahoo.cosid.spring.boot.starter.cosid.CosIdGeneratorProperties
Sets the time zone for friendly format generators.
ShardIdDefinition() - Constructor for class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.ShardIdDefinition
 
ShardIdDefinition() - Constructor for class me.ahoo.cosid.spring.boot.starter.snowflake.SnowflakeIdProperties.ShardIdDefinition
 
sharding(Range<LocalDateTime>) - Method in class me.ahoo.cosid.sharding.IntervalTimeline
 
sharding(Range<T>) - Method in class me.ahoo.cosid.sharding.CachedSharding
 
sharding(Range<T>) - Method in class me.ahoo.cosid.sharding.ModCycle
 
sharding(Range<T>) - Method in interface me.ahoo.cosid.sharding.RangeSharding
Gets the nodes that should handle the given range of IDs.
sharding(LocalDateTime) - Method in class me.ahoo.cosid.sharding.IntervalTimeline
 
sharding(T) - Method in class me.ahoo.cosid.sharding.CachedSharding
 
sharding(T) - Method in class me.ahoo.cosid.sharding.ModCycle
 
sharding(T) - Method in interface me.ahoo.cosid.sharding.PreciseSharding
Gets the node for a single sharding value.
Sharding<T extends Comparable<?>> - Interface in me.ahoo.cosid.sharding
Sharding algorithm interface for distributing data across multiple nodes.
SHARE - Static variable in interface me.ahoo.cosid.provider.IdGeneratorProvider
The key used for the shared (default) ID generator.
shareGenerate() - Method in class me.ahoo.cosid.spring.boot.starter.actuate.CosIdGeneratorEndpoint
 
shareGenerateAsString() - Method in class me.ahoo.cosid.spring.boot.starter.actuate.CosIdStringGeneratorEndpoint
 
shutdown() - Method in class me.ahoo.cosid.segment.concurrent.DefaultPrefetchWorker
 
shutdown() - Method in interface me.ahoo.cosid.segment.concurrent.PrefetchWorker
Shuts down the worker.
shutdown() - Method in class me.ahoo.cosid.segment.concurrent.PrefetchWorkerExecutorService
 
simple(String) - Static method in interface me.ahoo.cosid.stat.Stat
Creates a simple stat with the specified kind.
simple(String, IdGeneratorStat, Stat) - Static method in interface me.ahoo.cosid.stat.generator.IdGeneratorStat
Creates a simple stat with the specified kind and converter.
simple(String, Stat) - Static method in interface me.ahoo.cosid.stat.Stat
Creates a simple stat with the specified kind and actual.
simple(String, Stat) - Static method in interface me.ahoo.cosid.stat.generator.IdGeneratorStat
Creates a simple stat with the specified kind and converter.
SimpleIdGeneratorStat - Class in me.ahoo.cosid.stat.generator
Simple ID generator stat implementation.
SimpleIdGeneratorStat() - Constructor for class me.ahoo.cosid.stat.generator.SimpleIdGeneratorStat
 
SimpleStat - Class in me.ahoo.cosid.stat
Simple stat implementation wrapping another stat.
SimpleStat() - Constructor for class me.ahoo.cosid.stat.SimpleStat
 
size() - Method in class me.ahoo.cosid.sharding.ExactCollection
 
size() - Method in class me.ahoo.cosid.sharding.IntervalTimeline
Gets the number of intervals.
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
Gets the number of machine states in a namespace.
SNOWFLAKE_FRIENDLY - Enum constant in enum class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition.Type
Friendly format for snowflake IDs with timestamp formatting.
SnowflakeFriendlyId - Interface in me.ahoo.cosid.snowflake
Snowflake ID with human-readable string representation.
SnowflakeFriendlyIdConverter - Class in me.ahoo.cosid.converter
Converts Snowflake IDs to human-readable string format.
SnowflakeFriendlyIdConverter(SnowflakeIdStateParser) - Constructor for class me.ahoo.cosid.converter.SnowflakeFriendlyIdConverter
Creates a converter with the specified parser.
SnowflakeFriendlyIdConverterStat - Class in me.ahoo.cosid.stat.converter
Snowflake friendly ID converter stat with configuration.
SnowflakeFriendlyIdConverterStat() - Constructor for class me.ahoo.cosid.stat.converter.SnowflakeFriendlyIdConverterStat
 
SnowflakeId - Interface in me.ahoo.cosid.snowflake
Snowflake algorithm ID generator.
snowflakeIdBeanRegistrar(InstanceId, IdGeneratorProvider, GuardDistribute, ClockBackwardsSynchronizer, ConfigurableApplicationContext, CustomizeSnowflakeIdProperties) - Method in class me.ahoo.cosid.spring.boot.starter.snowflake.CosIdSnowflakeAutoConfiguration
 
SnowflakeIdBeanRegistrar - Class in me.ahoo.cosid.spring.boot.starter.snowflake
 
SnowflakeIdBeanRegistrar(CosIdProperties, MachineProperties, SnowflakeIdProperties, InstanceId, IdGeneratorProvider, GuardDistribute, ClockBackwardsSynchronizer, ConfigurableApplicationContext, CustomizeSnowflakeIdProperties) - Constructor for class me.ahoo.cosid.spring.boot.starter.snowflake.SnowflakeIdBeanRegistrar
 
SnowflakeIdConverterDecorator - Class in me.ahoo.cosid.spring.boot.starter.snowflake
 
SnowflakeIdConverterDecorator(SnowflakeId, IdConverterDefinition, ZoneId) - Constructor for class me.ahoo.cosid.spring.boot.starter.snowflake.SnowflakeIdConverterDecorator
 
SnowflakeIdProperties - Class in me.ahoo.cosid.spring.boot.starter.snowflake
SnowflakeId Properties.
SnowflakeIdProperties() - Constructor for class me.ahoo.cosid.spring.boot.starter.snowflake.SnowflakeIdProperties
 
SnowflakeIdProperties.IdDefinition - Class in me.ahoo.cosid.spring.boot.starter.snowflake
 
SnowflakeIdProperties.IdDefinition.TimestampUnit - Enum Class in me.ahoo.cosid.spring.boot.starter.snowflake
 
SnowflakeIdProperties.ShardIdDefinition - Class in me.ahoo.cosid.spring.boot.starter.snowflake
 
SnowflakeIdStat - Class in me.ahoo.cosid.stat.generator
Snowflake ID generator stat with Snowflake configuration.
SnowflakeIdStat() - Constructor for class me.ahoo.cosid.stat.generator.SnowflakeIdStat
 
SnowflakeIdState - Class in me.ahoo.cosid.snowflake
Immutable state object representing a parsed Snowflake ID.
SnowflakeIdState.SnowflakeIdStateBuilder - Class in me.ahoo.cosid.snowflake
Builder for SnowflakeIdState.
SnowflakeIdStateParser - Class in me.ahoo.cosid.snowflake
Abstract parser for converting between Snowflake IDs and their component state.
SnowflakeIdStateParser(long, int, int, int) - Constructor for class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
Creates a parser with default zone and no padding.
SnowflakeIdStateParser(long, int, int, int, ZoneId, boolean) - Constructor for class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
Creates a parser with custom zone and padding settings.
SnowflakeLocalDateTimeConvertor - Class in me.ahoo.cosid.sharding
 
SnowflakeLocalDateTimeConvertor() - Constructor for class me.ahoo.cosid.sharding.SnowflakeLocalDateTimeConvertor
 
SpringRedisIdSegmentDistributor - Class in me.ahoo.cosid.spring.redis
Spring Redis IdSegmentDistributor.
SpringRedisIdSegmentDistributor(String, String, long, long, StringRedisTemplate) - Constructor for class me.ahoo.cosid.spring.redis.SpringRedisIdSegmentDistributor
 
SpringRedisIdSegmentDistributor(String, String, StringRedisTemplate) - Constructor for class me.ahoo.cosid.spring.redis.SpringRedisIdSegmentDistributor
 
SpringRedisIdSegmentDistributorFactory - Class in me.ahoo.cosid.spring.redis
Spring Redis IdSegmentDistributor Factory.
SpringRedisIdSegmentDistributorFactory(StringRedisTemplate) - Constructor for class me.ahoo.cosid.spring.redis.SpringRedisIdSegmentDistributorFactory
 
springRedisMachineIdDistributor(StringRedisTemplate, MachineStateStorage, ClockBackwardsSynchronizer) - Method in class me.ahoo.cosid.spring.boot.starter.machine.CosIdSpringRedisMachineIdDistributorAutoConfiguration
 
SpringRedisMachineIdDistributor - Class in me.ahoo.cosid.spring.redis
Spring Redis MachineIdDistributor.
SpringRedisMachineIdDistributor(StringRedisTemplate, MachineStateStorage, ClockBackwardsSynchronizer) - Constructor for class me.ahoo.cosid.spring.redis.SpringRedisMachineIdDistributor
 
StandardLocalDateTimeConvertor - Class in me.ahoo.cosid.sharding
 
StandardLocalDateTimeConvertor() - Constructor for class me.ahoo.cosid.sharding.StandardLocalDateTimeConvertor
 
start() - Method in class me.ahoo.cosid.machine.DefaultMachineIdGuarder
Starts the machine ID guarder.
start() - Method in class me.ahoo.cosid.machine.MachineIdGuarder.None
 
start() - Method in interface me.ahoo.cosid.machine.MachineIdGuarder
Starts the machine ID guarder.
start() - Method in class me.ahoo.cosid.spring.boot.starter.machine.CosIdMachineIdLifecycle
 
start() - Method in class me.ahoo.cosid.spring.boot.starter.segment.CosIdLifecyclePrefetchWorkerExecutorService
 
stat() - Method in class me.ahoo.cosid.converter.DatePrefixIdConverter
 
stat() - Method in class me.ahoo.cosid.converter.GroupedPrefixIdConverter
 
stat() - Method in class me.ahoo.cosid.converter.PrefixIdConverter
 
stat() - Method in class me.ahoo.cosid.converter.RadixIdConverter
 
stat() - Method in class me.ahoo.cosid.converter.SnowflakeFriendlyIdConverter
 
stat() - Method in class me.ahoo.cosid.converter.SuffixIdConverter
 
stat() - Method in class me.ahoo.cosid.converter.ToStringIdConverter
 
stat() - Method in class me.ahoo.cosid.cosid.ClockSyncCosIdGenerator
 
stat() - Method in interface me.ahoo.cosid.cosid.CosIdGenerator
Get statistical information about this CosId generator.
stat() - Method in interface me.ahoo.cosid.IdConverter
Get statistical information about this converter.
stat() - Method in interface me.ahoo.cosid.IdGenerator
Get statistical information about this ID generator.
stat() - Method in interface me.ahoo.cosid.IdGeneratorDecorator
Get statistical information about this decorated ID generator.
stat() - Method in interface me.ahoo.cosid.segment.SegmentId
Get statistical information about this Segment ID generator.
stat() - Method in class me.ahoo.cosid.segment.StringSegmentId
 
stat() - Method in class me.ahoo.cosid.snowflake.ClockSyncSnowflakeId
 
stat() - Method in interface me.ahoo.cosid.snowflake.SnowflakeId
Get statistical information about this Snowflake ID generator.
stat() - Method in class me.ahoo.cosid.snowflake.StringSnowflakeId
 
stat() - Method in class me.ahoo.cosid.spring.boot.starter.actuate.CosIdEndpoint
 
stat() - Method in interface me.ahoo.cosid.stat.Statistical
Gets statistical information.
Stat - Interface in me.ahoo.cosid.stat
Statistical information interface.
STATE_DELIMITER - Static variable in class me.ahoo.cosid.machine.MachineState
The delimiter used when serializing machine states to string format.
STATEFUL_SET - Enum constant in enum class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.Distributor.Type
Distribution based on Kubernetes StatefulSet ordinal.
statefulSetMachineIdDistributor(MachineStateStorage, ClockBackwardsSynchronizer) - Method in class me.ahoo.cosid.spring.boot.starter.machine.CosIdMachineAutoConfiguration
 
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
The state location path.
StateStorage() - Constructor for class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.StateStorage
Constructs a new StateStorage configuration with default local storage.
Statistical - Interface in me.ahoo.cosid.stat
Interface for objects that can provide statistical information.
stop() - Method in class me.ahoo.cosid.machine.DefaultMachineIdGuarder
Stops the machine ID guarder.
stop() - Method in class me.ahoo.cosid.machine.MachineIdGuarder.None
 
stop() - Method in interface me.ahoo.cosid.machine.MachineIdGuarder
Stops the machine ID guarder.
stop() - Method in class me.ahoo.cosid.spring.boot.starter.machine.CosIdMachineIdLifecycle
 
stop() - Method in class me.ahoo.cosid.spring.boot.starter.segment.CosIdLifecyclePrefetchWorkerExecutorService
 
StringIdGenerator - Interface in me.ahoo.cosid
String type ID generator.
StringIdGeneratorDecorator - Class in me.ahoo.cosid
String ID generator decorator for customizing string ID generation.
StringIdGeneratorDecorator(IdGenerator, IdConverter) - Constructor for class me.ahoo.cosid.StringIdGeneratorDecorator
Create a new StringIdGeneratorDecorator with the specified generator and converter.
StringSegmentId - Class in me.ahoo.cosid.segment
String-based SegmentId wrapper.
StringSegmentId(SegmentId, IdConverter) - Constructor for class me.ahoo.cosid.segment.StringSegmentId
Creates a new StringSegmentId.
StringSnowflakeId - Class in me.ahoo.cosid.snowflake
String-based SnowflakeId wrapper.
StringSnowflakeId(SnowflakeId, IdConverter) - Constructor for class me.ahoo.cosid.snowflake.StringSnowflakeId
Creates a new StringSnowflakeId.
submit(AffinityJob) - Method in class me.ahoo.cosid.segment.concurrent.DefaultPrefetchWorker
 
submit(AffinityJob) - Method in interface me.ahoo.cosid.segment.concurrent.PrefetchWorker
Submits a job for prefetching.
submit(AffinityJob) - Method in class me.ahoo.cosid.segment.concurrent.PrefetchWorkerExecutorService
 
success(long) - Static method in class me.ahoo.cosid.machine.GuardianState
Creates a successful guardian state.
SuffixConverterStat - Class in me.ahoo.cosid.stat.converter
Suffix converter stat with suffix configuration.
SuffixConverterStat() - Constructor for class me.ahoo.cosid.stat.converter.SuffixConverterStat
 
SuffixIdConverter - Class in me.ahoo.cosid.converter
Converter that appends a fixed suffix to string IDs.
SuffixIdConverter(String, IdConverter) - Constructor for class me.ahoo.cosid.converter.SuffixIdConverter
Creates a suffix converter.
sync(long) - Method in interface me.ahoo.cosid.machine.ClockBackwardsSynchronizer
Synchronizes clock by waiting until current time exceeds lastTimestamp.
sync(long) - Method in class me.ahoo.cosid.machine.DefaultClockBackwardsSynchronizer
 
syncUninterruptibly(long) - Method in interface me.ahoo.cosid.machine.ClockBackwardsSynchronizer
Synchronizes clock without throwing InterruptedException.
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

TEST_HOST - Static variable in class me.ahoo.cosid.test.machine.distributor.MachineIdDistributorSpec
 
TEST_OFFSET - Static variable in class me.ahoo.cosid.test.segment.distributor.IdSegmentDistributorSpec
 
TEST_PREFIX - Static variable in class me.ahoo.cosid.test.MockIdGenerator
 
TEST_STEP - Static variable in class me.ahoo.cosid.test.segment.distributor.IdSegmentDistributorSpec
 
TestSpec - Interface in me.ahoo.cosid.test
TestSpec .
TIME_TO_LIVE_FOREVER - Static variable in interface me.ahoo.cosid.segment.IdSegment
Special TTL value indicating the segment never expires.
timestamp(LocalDateTime) - Method in class me.ahoo.cosid.snowflake.SnowflakeIdState.SnowflakeIdStateBuilder
Sets the timestamp component.
timestampBit - Variable in class me.ahoo.cosid.snowflake.AbstractSnowflakeId
Number of bits allocated for the timestamp portion.
timestampBit - Variable in class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
Number of bits for timestamp portion.
timestampBit() - Element in annotation interface me.ahoo.cosid.jackson.AsString
 
timestampLeft - Variable in class me.ahoo.cosid.snowflake.AbstractSnowflakeId
Number of bits to shift timestamp left (equal to sequenceBit + machineBit).
timestampLeft - Variable in class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
Number of bits to shift timestamp left.
timestampMask - Variable in class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
Mask for extracting timestamp from raw ID.
TimestampOverflowException - Exception in me.ahoo.cosid.snowflake.exception
Exception thrown when timestamp exceeds maximum value.
TimestampOverflowException(long, long, long) - Constructor for exception me.ahoo.cosid.snowflake.exception.TimestampOverflowException
Creates a new exception.
TO_STRING - Enum constant in enum class me.ahoo.cosid.jackson.AsString.Type
 
TO_STRING - Enum constant in enum class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition.Type
Simple string conversion using toString().
toArray() - Method in class me.ahoo.cosid.sharding.ExactCollection
 
toArray(T[]) - Method in class me.ahoo.cosid.sharding.ExactCollection
 
toLocalDateTime(Comparable<?>) - Method in interface me.ahoo.cosid.sharding.LocalDateTimeConvertor
To local date time.
toLocalDateTime(Comparable<?>) - Method in class me.ahoo.cosid.sharding.SnowflakeLocalDateTimeConvertor
 
toLocalDateTime(Comparable<?>) - Method in class me.ahoo.cosid.sharding.StandardLocalDateTimeConvertor
 
toStateString() - Method in class me.ahoo.cosid.machine.MachineState
Convert this machine state to its string representation.
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
Get the string representation of this machine state.
toString() - Method in class me.ahoo.cosid.machine.NamespacedInstanceId
 
toString() - Method in class me.ahoo.cosid.proxy.api.MachineStateResponse
 
toString() - Method in class me.ahoo.cosid.segment.DefaultIdSegment
Get the string representation of this segment.
toString() - Method in class me.ahoo.cosid.segment.grouped.GroupedKey
 
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
 
ToString() - Constructor for class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition.ToString
 
ToStringConverterStat - Class in me.ahoo.cosid.stat.converter
ToString converter stat with padding configuration.
ToStringConverterStat() - Constructor for class me.ahoo.cosid.stat.converter.ToStringConverterStat
 
ToStringIdConverter - Class in me.ahoo.cosid.converter
Converts long IDs to/from strings using standard String.valueOf().
ToStringIdConverter(boolean, int) - Constructor for class me.ahoo.cosid.converter.ToStringIdConverter
Creates a converter with optional padding.
TOTAL_BIT - Static variable in interface me.ahoo.cosid.snowflake.SnowflakeId
The total number of bits used for Snowflake IDs (63 bits).
totalMachineIds(int) - Static method in interface me.ahoo.cosid.machine.MachineIdDistributor
Calculate the total number of machine IDs for the specified bit size.
tryGet(boolean) - Method in class me.ahoo.cosid.provider.LazyIdGenerator
Attempts to get the generator, optionally throwing if not found.
tryInitCosIdMachineTable() - Method in class me.ahoo.cosid.jdbc.JdbcMachineIdInitializer
 
tryInitCosIdTable() - Method in class me.ahoo.cosid.jdbc.JdbcIdSegmentInitializer
 
tryInitIdSegment(String, long) - Method in class me.ahoo.cosid.jdbc.JdbcIdSegmentInitializer
 
trySetNext(Function<IdSegmentChain, IdSegmentChain>) - Method in class me.ahoo.cosid.segment.IdSegmentChain
Attempts to set the next segment in the chain.
ttl() - Method in class me.ahoo.cosid.segment.grouped.GroupedKey
Calculates remaining TTL from current time.
TYPE - Static variable in class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.Distributor
The configuration property key for distributor type.
TYPE - Static variable in class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Distributor
 

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
 
unknown(String) - Static method in class me.ahoo.cosid.proxy.api.ErrorResponse
 
unregister(String, InstanceId) - Method in class me.ahoo.cosid.machine.DefaultMachineIdGuarder
Unregisters an instance ID from a specific namespace.
unregister(String, InstanceId) - Method in class me.ahoo.cosid.machine.MachineIdGuarder.None
 
unregister(String, InstanceId) - Method in interface me.ahoo.cosid.machine.MachineIdGuarder
Unregisters an instance ID from a specific namespace.
UPDATE_AFTER_OPTIONS - Static variable in interface me.ahoo.cosid.mongo.Documents
 
UPDATE_UPSERT_AFTER_OPTIONS - Static variable in interface me.ahoo.cosid.mongo.Documents
 
usePrefix(String) - Static method in class me.ahoo.cosid.test.MockIdGenerator
 
UuidGenerator - Class in me.ahoo.cosid.jvm
UUID ID Generator.
UuidGenerator() - Constructor for class me.ahoo.cosid.jvm.UuidGenerator
 

V

value() - Element in annotation interface me.ahoo.cosid.annotation.CosId
Gets the ID generator name.
value() - Element in annotation interface me.ahoo.cosid.jackson.AsString
 
valueOf(String) - Static method in enum class me.ahoo.cosid.jackson.AsString.Type
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class me.ahoo.cosid.spring.boot.starter.cosid.CosIdGeneratorProperties.Type
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition.Type
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.Distributor.Type
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Distributor.Type
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.IdDefinition.GroupBy
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Mode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class me.ahoo.cosid.spring.boot.starter.snowflake.SnowflakeIdProperties.IdDefinition.TimestampUnit
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class me.ahoo.cosid.util.ProcessId
Returns the enum constant of this class with the specified name.
values() - Static method in enum class me.ahoo.cosid.jackson.AsString.Type
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class me.ahoo.cosid.spring.boot.starter.cosid.CosIdGeneratorProperties.Type
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class me.ahoo.cosid.spring.boot.starter.IdConverterDefinition.Type
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.Distributor.Type
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Distributor.Type
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.IdDefinition.GroupBy
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Mode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class me.ahoo.cosid.spring.boot.starter.snowflake.SnowflakeIdProperties.IdDefinition.TimestampUnit
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class me.ahoo.cosid.util.ProcessId
Returns an array containing the constants of this enum class, in the order they are declared.
verify() - Method in class me.ahoo.cosid.test.ConcurrentGenerateSpec
 
verify() - Method in class me.ahoo.cosid.test.ConcurrentGenerateStingSpec
 
verify() - Method in class me.ahoo.cosid.test.machine.distributor.Distribute
 
verify() - Method in class me.ahoo.cosid.test.machine.distributor.DistributeConcurrent
 
verify() - Method in class me.ahoo.cosid.test.machine.distributor.DistributeIdempotent
 
verify() - Method in class me.ahoo.cosid.test.machine.distributor.DistributeOverflow
 
verify() - Method in class me.ahoo.cosid.test.machine.distributor.DistributeRevert
 
verify() - Method in class me.ahoo.cosid.test.machine.distributor.DistributeSafeGuard
 
verify() - Method in class me.ahoo.cosid.test.machine.distributor.DistributeStable
 
verify() - Method in class me.ahoo.cosid.test.machine.distributor.Guard
 
verify() - Method in class me.ahoo.cosid.test.machine.distributor.GuardLost
 
verify() - Method in class me.ahoo.cosid.test.machine.distributor.Revert
 
verify() - Method in class me.ahoo.cosid.test.ModSpec
 
verify() - Method in interface me.ahoo.cosid.test.TestSpec
 

W

wakeup(AffinityJob) - Method in class me.ahoo.cosid.segment.concurrent.DefaultPrefetchWorker
 
wakeup(AffinityJob) - Method in interface me.ahoo.cosid.segment.concurrent.PrefetchWorker
Wakes up a job for immediate processing.

Y

YEAR - Enum constant in enum class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.IdDefinition.GroupBy
 
YEAR_MONTH - Enum constant in enum class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.IdDefinition.GroupBy
 
YEAR_MONTH_DAY - Enum constant in enum class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.IdDefinition.GroupBy
 
YearGroupBySupplier - Class in me.ahoo.cosid.segment.grouped.date
Year-based group key supplier.
YearGroupBySupplier(String) - Constructor for class me.ahoo.cosid.segment.grouped.date.YearGroupBySupplier
Creates a supplier with the specified pattern.
YearGroupBySupplier(DateTimeFormatter) - Constructor for class me.ahoo.cosid.segment.grouped.date.YearGroupBySupplier
Creates a supplier with the specified formatter.
YearMonthDayGroupBySupplier - Class in me.ahoo.cosid.segment.grouped.date
Year-month-day based group key supplier.
YearMonthDayGroupBySupplier(String) - Constructor for class me.ahoo.cosid.segment.grouped.date.YearMonthDayGroupBySupplier
Creates a supplier with the specified pattern.
YearMonthDayGroupBySupplier(DateTimeFormatter) - Constructor for class me.ahoo.cosid.segment.grouped.date.YearMonthDayGroupBySupplier
Creates a supplier with the specified formatter.
YearMonthGroupBySupplier - Class in me.ahoo.cosid.segment.grouped.date
Year-month based group key supplier.
YearMonthGroupBySupplier(String) - Constructor for class me.ahoo.cosid.segment.grouped.date.YearMonthGroupBySupplier
Creates a supplier with the specified pattern.
YearMonthGroupBySupplier(DateTimeFormatter) - Constructor for class me.ahoo.cosid.segment.grouped.date.YearMonthGroupBySupplier
Creates a supplier with the specified formatter.

Z

zoneId - Variable in class me.ahoo.cosid.snowflake.SnowflakeIdStateParser
Time zone used for timestamp conversion.
ZOOKEEPER - Enum constant in enum class me.ahoo.cosid.spring.boot.starter.machine.MachineProperties.Distributor.Type
ZooKeeper-based distribution.
ZOOKEEPER - Enum constant in enum class me.ahoo.cosid.spring.boot.starter.segment.SegmentIdProperties.Distributor.Type
 
ZookeeperIdSegmentDistributor - Class in me.ahoo.cosid.zookeeper
Zookeeper IdSegment Distributor.
ZookeeperIdSegmentDistributor(String, String, long, long, CuratorFramework, RetryPolicy) - Constructor for class me.ahoo.cosid.zookeeper.ZookeeperIdSegmentDistributor
 
ZookeeperIdSegmentDistributorFactory - Class in me.ahoo.cosid.zookeeper
Zookeeper IdSegmentDistributor Factory.
ZookeeperIdSegmentDistributorFactory(CuratorFramework, RetryPolicy) - Constructor for class me.ahoo.cosid.zookeeper.ZookeeperIdSegmentDistributorFactory
 
zookeeperMachineIdDistributor(CuratorFramework, RetryPolicy, MachineStateStorage, ClockBackwardsSynchronizer) - Method in class me.ahoo.cosid.spring.boot.starter.machine.CosIdZookeeperMachineIdDistributorAutoConfiguration
 
ZookeeperMachineIdDistributor - Class in me.ahoo.cosid.zookeeper
Zookeeper MachineIdDistributor.
ZookeeperMachineIdDistributor(CuratorFramework, RetryPolicy, MachineStateStorage, ClockBackwardsSynchronizer) - Constructor for class me.ahoo.cosid.zookeeper.ZookeeperMachineIdDistributor
 
A B C D E F G H I J K L M N O P R S T U V W Y Z 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form