SnapshotTailReader
An optional capability of a store that holds a context's log and its snapshots in one database: reading an aggregate's snapshot and the tail after it in one round trip (me.ahoo.wow.spi.store.Store.snapshotTails). The runtime gives it to the kernel for the aggregate types whose log and primary snapshots are on that one store; the others are read the way every log can: the snapshot, then the tail (readSnapshotTailApart).
The kernel reads through it on a cache miss. When it fails, the kernel reads apart; when it gives no answer within the kernel's snapshot load timeout, the kernel cancels it and reads the log alone (readWithoutSnapshot): its store is the log's, so a snapshot read apart would wait on it again. Each is counted (the observer's me.ahoo.wow.spi.observation.ObservedEvent.StoreFellBack, failed or timed-out), and the first of each outage is logged as a warning, an outage ending with a read that answers.
Functions
ref's snapshot and the tail after it with the request keys before it, as EventLog.readTail reads them from the snapshot's version, as one statement sees them; with no snapshot, every stream of ref and no earlier keys. A failure is thrown. The kernel cancels the read at its deadline, and the read ends for it at once; what the read holds is freed by the store's client.