Module me.ahoo.cosid.core
module me.ahoo.cosid.core
CosId core: generation, codecs, the store SPI, the runtime and field filling. Exports the API packages only (D12);
me.ahoo.cosid.internal stays inside.-
Packages
ExportsPackageDescriptionThe generator interfaces (IdGeneratorand its kinds) and the exceptions a generator throws.Turning ids into text and back:IdCodecforlongids,PartsCodecfor time-based parts,GroupedCodecfor periodic segments, and the built-in radix, friendly and prefix codecs.Machine slots and their leases (05-machine-lease.md): the store primitiveSlotLeaseStore, the lease values, and the slot handles a time-based generator issues on.Events of generators, leases and stores (GeneratorListener), and the valuesdescribe()reports.The runtime: a declarativeRuntimeSpec, the options of one start, andCosIdRuntime, which owns the stores, the machine slots and the generators (07-runtime-and-spring.md §1).Segment generators (04-segment.md): the store primitiveRangeStore, the batch and period policies, and the plain and periodic segment generators.The store SPI (06-stores.md §1):StoreProvideropens aStore, which gives the range and slot lease primitives; the option and key rules every backend shares;StoreTimeoutException.Time-based generators (03-core-model.md): layouts, the time source, the clock regression policy,TimeBasedGenerator, andUuidV7Generator(D46), whose ids carry a timestamp but need no slot.