Package me.ahoo.cosid.store


package me.ahoo.cosid.store
The store SPI (06-stores.md §1): StoreProvider opens a Store, which gives the range and slot lease primitives; the option and key rules every backend shares; StoreTimeoutException.
  • Class
    Description
    An open store: its range and slot lease primitives (06-stores.md §1).
    What a StoreProvider opens a store with (06-stores.md §1).
    Builds a StoreConfig; StoreConfig.Builder.build() checks the fields.
    The keys every backend stores alike (R1-spi-02, 06-stores.md §1): namespaces, the names of generators and machines, and the range and owner keys made from them.
    The options of a store matched to the keys its provider declares (R1-spi-01, R1-spring-01): case, - and _ do not count, so an environment variable (..._OPTIONS_INITSCHEMA) and kebab-case (init-schema) reach initSchema; any other key is a problem.
    Opens stores of one type (06-stores.md §1); found through ServiceLoader or given to the runtime (as a Spring bean, say), both along the same path.
    A store operation did not complete within StoreConfig.timeout(): the backend's native timeout fired (06-stores.md §1).