Package com.ultikits.ultitools.interfaces.impl.data.json
package com.ultikits.ultitools.interfaces.impl.data.json
-
ClassDescriptionThe file an entity id names in a JSON table directory,
<table directory>/<id>.json, and the rules an id must meet before an insert creates that file (question 12 A of the Phase 20.4 decisions).Resolves a file name against a directory; replaceable in tests.The durable state shared by every JSON table of one identity (a plugin, an external data folder, or one directly constructed operator): its redo journal, the sequence numbers its records draw from, the commit gate, the checkpoint mutex, the registry of its operators and the generation counter behind their dirty marks (20.4-RESEARCH.md section 12.7).One dirty key captured by a checkpoint: its generation and its committed value, ornullif deleted.A test callback for the named checkpoint steps.The redo journal that makes a multi-file JSON commit crash consistent (20.4-RESEARCH.md section 12.7).Forces a directory's entries to disk; replaceable in tests.One change of a record: an entity file to write with its after-image, or to delete.What a record stands for.Moves a file; replaceable in tests.A committed record read back from the journal directory.A record file found in the journal directory.A test callback for the named journal steps.The table write locks of the JSON backend: one perJsonStore, shared by every operator the store hands out (an operator constructed directly keeps its own).The owning thread of one table and how many holds it has on it.Json Data store.Composite operator-cache key: the requesting identity (plugin name on the plugin path, canonical data-folder path on the externalFilepath) plus the entity class.One JSON transaction's staged writes: for everySimpleJsonDataOperatorthe transaction has written, an overlay of staged puts and deletes, kept in first-touch order.One operator's staged writes, keyed by the key the operator's committed entries use.One staged write: a detached value to put, ornullfor a delete.A test callback for the named steps of a commit.Simple Json data operator.