Uses of Class
com.ultikits.ultitools.interfaces.impl.data.json.JsonJournal.Entry
Packages that use JsonJournal.Entry
-
Uses of JsonJournal.Entry in com.ultikits.ultitools.interfaces.impl.data.json
Fields in com.ultikits.ultitools.interfaces.impl.data.json with type parameters of type JsonJournal.EntryModifier and TypeFieldDescriptionprivate final List<JsonJournal.Entry> JsonJournal.Record.entriesMethods in com.ultikits.ultitools.interfaces.impl.data.json that return JsonJournal.EntryModifier and TypeMethodDescription(package private) JsonJournal.EntrySimpleJsonDataOperator.checkpointEntry(Object key, Object value) The journal entry that bringskey's file tovalue: the entity's JSON (the form this operator has always written to its files) for a value, a delete fornull.(package private) static JsonJournal.Entry(package private) static JsonJournal.EntryMethods in com.ultikits.ultitools.interfaces.impl.data.json that return types with arguments of type JsonJournal.EntryModifier and TypeMethodDescriptionprivate List<JsonJournal.Entry> JsonTransaction.buildRecord()The journal entries of every staged write, operators in first-touch order and each operator's writes in staging order.(package private) List<JsonJournal.Entry> JsonJournal.Record.entries()private List<JsonJournal.Entry> JsonIdentity.entriesOf(List<JsonIdentity.Captured> captured) Methods in com.ultikits.ultitools.interfaces.impl.data.json with parameters of type JsonJournal.EntryModifier and TypeMethodDescriptionprivate PathJsonJournal.entityFileOf(JsonJournal.Entry entry) The entity file<identity root>/<table>/<key>.jsonofentry.private static StringJsonJournal.unnameable(JsonJournal.Entry entry, InvalidPathException invalid) Namesentry's table and id for a message about a file name this file system rejects.Method parameters in com.ultikits.ultitools.interfaces.impl.data.json with type arguments of type JsonJournal.EntryModifier and TypeMethodDescriptionprivate static <T extends BaseDataEntity<String>>
voidJsonTransaction.addEntries(SimpleJsonDataOperator<?> operator, JsonTransaction.Overlay<?> overlay, List<JsonJournal.Entry> record) (package private) voidJsonJournal.checkpoint(long sequence, List<JsonJournal.Entry> entries) Writes a checkpoint, in this order: commits checkpoint recordsequence(K) holding every entry's after-image; only after K's rename, writes the entity files and deletes the files of deleted entries, then forces the touched table directories; then deletes every record, committed or temporary, numbered below K (and a temporary K, if any), in ascending order, forces the journal directory, and only then deletes K and forces the journal directory again.private static byte[]JsonJournal.encode(long sequence, JsonJournal.Kind kind, List<JsonJournal.Entry> entries) (package private) voidSimpleJsonDataOperator.journalEntries(JsonTransaction.Overlay<T> overlay, List<JsonJournal.Entry> record) Adds the journal entries of one transaction's staged writes for this operator torecord, in staging order: the entity's JSON for a put (the form a checkpoint writes to its file), a delete for a staged delete.(package private) voidJsonJournal.writeEntityFiles(String phase, List<JsonJournal.Entry> entries, Path recordFile) Applies entries to the table files, in order: a put writes<table>/<key>.jsonby writing and forcing a file in the journal'stmp/directory and moving it into place atomically, replacing the old file; a delete removes the file if present.(package private) voidJsonJournal.writeRecord(long sequence, JsonJournal.Kind kind, List<JsonJournal.Entry> entries) Writes and commits one record:<seq>.tmp, forced, then renamed atomically to<seq>.commit(the commit point), then the journal directory forced, together with the parent of every directory the journal created and has not yet forced into its parent.private static voidJsonTransaction.writeRecord(JsonIdentity identity, List<JsonJournal.Entry> record) Allocates the record's number and writes the record; its rename is the commit point.Constructor parameters in com.ultikits.ultitools.interfaces.impl.data.json with type arguments of type JsonJournal.EntryModifierConstructorDescription(package private)Record(long sequence, JsonJournal.Kind kind, List<JsonJournal.Entry> entries, Path file)