Uses of Class
com.ultikits.ultitools.interfaces.impl.data.json.JsonTransaction
Packages that use JsonTransaction
-
Uses of JsonTransaction in com.ultikits.ultitools.interfaces.impl.data.json
Methods in com.ultikits.ultitools.interfaces.impl.data.json with parameters of type JsonTransactionModifier and TypeMethodDescriptionprivate voidSimpleJsonDataOperator.delLocked(JsonTransaction transaction, WhereCondition... whereConditions) SimpleJsonDataOperator.del(WhereCondition...)'s body after the refusal, run holding this table's write lock.private voidSimpleJsonDataOperator.insertLocked(JsonTransaction transaction, T obj) SimpleJsonDataOperator.insert(T)'s body, run holding this table's write lock.SimpleJsonDataOperator.mergedEntries(JsonTransaction transaction) Every entrytransactionsees (every committed entry when it isnull): the committed entries whose key has no staged write, then the staged puts.private TSimpleJsonDataOperator.mergedFind(JsonTransaction transaction, Object id) SimpleJsonDataOperator.mergedGet(com.ultikits.ultitools.interfaces.impl.data.json.JsonTransaction, java.lang.Object)by an entity id, trying its string form when the key type differs.private TSimpleJsonDataOperator.mergedGet(JsonTransaction transaction, Object key) The entry forkeyastransactionsees it: its staged write when it has one (nullfor a staged delete), otherwise the committed entry.Method parameters in com.ultikits.ultitools.interfaces.impl.data.json with type arguments of type JsonTransactionModifier and TypeMethodDescriptionprivate <R> RSimpleJsonDataOperator.readVisible(Function<JsonTransaction, R> read) Runsreadwith the calling thread's transaction (ornulloutside one) under the visibility read side.private <R> RSimpleJsonDataOperator.write(Function<JsonTransaction, R> body) Runs one write while holding this table's write lock. -
Uses of JsonTransaction in com.ultikits.ultitools.manager
Fields in com.ultikits.ultitools.manager declared as JsonTransactionModifier and TypeFieldDescription(package private) final JsonTransactionJsonTransactionManager.Context.transactionThe staged writes of this context; carried along when the context is suspended.Methods in com.ultikits.ultitools.manager that return JsonTransactionModifier and TypeMethodDescriptionJsonTransactionManager.currentTransaction()TheJsonTransactionactive on the current thread, ornullif none is.Constructors in com.ultikits.ultitools.manager with parameters of type JsonTransaction