Package-level declarations
Types
Snapshot writes a later durable write to the same store covers: a facet of a Store (Store.facet) whose snapshots can then be written without waiting for their own durability.
The StoreCallMarks a thread holds while it runs a clocked store call's blocking section, for a driver listener that times the call's commands (StoreCallMarks.commanded) and has nothing but its thread to find the call by. The benchmark server's listener reads it (held); nothing else does. The store holds the marks as the section starts and releases them in its finally, so the section ends holding none, returned or thrown; both do nothing for a call without marks, which holds none.
A port a Store opened, with what creates its schema where it is missing (schema; null when the port has none, as a store in memory), which the store runs when the node starts (Store.createSchemas).
One store instance of the node, wow.stores.<name>, as its StoreProvider opened it: it opens each context's log, snapshots and timers on their first use, and the checkpoints, leases, failure ledger and reservations the contexts whose stores it holds share, and remembers what creates their schemas (createSchemas).
The instants one call to a store passes, in System.nanoTime, a diagnostic of where the call's time goes: an event log's appendAll or a snapshot store's saveAll. The node's caller (the append queue, the snapshot writes) puts one in the call's coroutine context only while something reads its counts, and marks taken (when it makes it), returned and done. A store marks what only it sees, from entered to released, and adds its driver's own command time when its driver reports it; a store that marks nothing leaves them at zero. Nothing is marked without one: a store looks it up once a call and finds none.
What a StoreProvider opens one store instance from: the store's name and type, how it manages the framework's schema (ddl, wow.stores.<name>.ddl over wow.ddl), its own settings (settings), how the tails of its logs poll (polling, wow.log.poll-interval), the service whose failure ledger it keeps (the key of its entries), the application's resources, whether the node runs for development, where a store may accept a deployment it refuses for production (a standalone MongoDB server, say), and the clock its ports read the time from: the leases' and the reservations' expiry, the store's one time source, so a test fixes it in one place.
The connections a store draws from, as its pool says them: a facet of a Store (Store.facet) whose pool can say them (HikariCP's, the MongoDB driver's, the Elasticsearch client's), so that the node bounds the store's queries by its pool and reads its write pressure from it. A store whose pool says nothing has none: its queries take the default bound and its write pressure is its append latency alone.
A backend of the node's stores: what opens a store instance of one type, wow.stores.<name>.type, or the one store wow.backend names. The built-in PostgreSQL (postgres) and MongoDB (mongo) backends are providers as a community backend is; the host finds them on the classpath (ServiceLoader, from the backend module's META-INF/services/me.ahoo.wow.spi.store.StoreProvider) and among the application's beans, a bean taking the place of a provider of its type on the classpath.
The application's objects a store is opened over (a DataSource, a MongoClient): in the Spring Boot host, its beans.
How hard one store's writes are pressed, for what shares the store with them to give way: the node measures its appends' latency where it records their calls, and the store's pool says how many callers wait for a connection (StorePool.waitingForConnection). Each sample closes one period and opens the next.
One period of a store's WritePressure: the appends it measured, their 90th percentile latency appendP90 (null when too few were measured to say), the baseline of that latency over the earlier periods (null until one sets it), and how many callers were waitingForConnection when it ended.