Uses of Class
com.ultikits.ultitools.interfaces.impl.data.json.SimpleJsonDataOperator
Packages that use SimpleJsonDataOperator
-
Uses of SimpleJsonDataOperator in com.ultikits.ultitools.interfaces.impl.data.json
Fields in com.ultikits.ultitools.interfaces.impl.data.json declared as SimpleJsonDataOperatorModifier and TypeFieldDescription(package private) final SimpleJsonDataOperator<?> JsonIdentity.Captured.operatorFields in com.ultikits.ultitools.interfaces.impl.data.json with type parameters of type SimpleJsonDataOperatorModifier and TypeFieldDescriptionprivate final Map<SimpleJsonDataOperator<?>, JsonLockTable> JsonTransaction.heldLocksThe table locks this transaction holds, in the order it took them, with the lock table of each.private final Map<SimpleJsonDataOperator<?>, JsonLockTable.Hold> JsonLockTable.holdsThe owner and hold count of every table currently held.private final List<SimpleJsonDataOperator<?>> JsonIdentity.operatorsThe identity's operators, in registration order.private final Map<SimpleJsonDataOperator<?>, JsonTransaction.Overlay<?>> JsonTransaction.overlaysOne overlay per operator this transaction has written, in first-touch order.private final Map<Thread, SimpleJsonDataOperator<?>> JsonLockTable.waitsForThe table each waiting thread is waiting for.Methods in com.ultikits.ultitools.interfaces.impl.data.json that return types with arguments of type SimpleJsonDataOperatorModifier and TypeMethodDescription(package private) List<SimpleJsonDataOperator<?>> JsonIdentity.operators()Methods in com.ultikits.ultitools.interfaces.impl.data.json with parameters of type SimpleJsonDataOperatorModifier and TypeMethodDescription(package private) voidJsonLockTable.acquire(SimpleJsonDataOperator<?> table, long deadlineNanos) Takestablefor the calling thread: at once if it is free or the caller already owns it, otherwise after waiting until it is free.private static <T extends BaseDataEntity<String>>
voidJsonTransaction.addEntries(SimpleJsonDataOperator<?> operator, JsonTransaction.Overlay<?> overlay, List<JsonJournal.Entry> record) private static <T extends BaseDataEntity<String>>
voidJsonTransaction.apply(SimpleJsonDataOperator<?> operator, JsonTransaction.Overlay<?> overlay) (package private) voidJsonTransaction.beforeRead(SimpleJsonDataOperator<?> operator) Called before a read ofoperatortakes the visibility read side: checks the deadline and, atREPEATABLE_READorSERIALIZABLE, takes the table's write lock.(package private) voidJsonTransaction.beforeWrite(SimpleJsonDataOperator<?> operator) Called before a write evaluates or stages anything, never while holding either side of the visibility lock: rejects it in a read-only transaction, checks the deadline, and takesoperator's table write lock for the rest of this transaction unless it already holds it.private voidJsonTransaction.checkDeadline(SimpleJsonDataOperator<?> operator) Refuses the operation once the deadline has passed, marking this transaction rollback-only first, as Spring'sResourceHolderSupport#checkTransactionTimeoutcallssetRollbackOnly()before it throwsTransactionTimedOutException.private voidJsonLockTable.failIfWaitingClosesACycle(SimpleJsonDataOperator<?> table, Thread caller) Follows the wait-for chain fromtable's owner; reachingcallermeans its wait would close a cycle.(package private) booleanJsonTransaction.hasStagedWrites(SimpleJsonDataOperator<?> operator) Whether this transaction has staged any write foroperator.private voidJsonTransaction.lock(SimpleJsonDataOperator<?> operator) Takesoperator's table lock unless this transaction holds it, waiting at most until the sooner bound.private DataAccessExceptionJsonLockTable.lockWaitTimeout(SimpleJsonDataOperator<?> table, long start) Called holding the monitor.(package private) <T extends BaseDataEntity<String>>
JsonTransaction.Overlay<T> JsonTransaction.overlay(SimpleJsonDataOperator<T> operator) The overlay this transaction keeps foroperator, ornullif the transaction has not written it.(package private) <T extends BaseDataEntity<String>>
JsonTransaction.Overlay<T> JsonTransaction.overlayForWrite(SimpleJsonDataOperator<T> operator) The overlay foroperator, created (in first-touch order) if this is its first write.(package private) voidJsonIdentity.register(SimpleJsonDataOperator<?> operator) Addsoperatorto the operators a checkpoint captures.(package private) voidJsonLockTable.release(SimpleJsonDataOperator<?> table) Gives back one hold the calling thread took ontable; the table becomes free, and every waiter is woken, when the thread's last hold is given back.private booleanJsonLockTable.tryTake(SimpleJsonDataOperator<?> table, Thread caller) Takestableif it is free or owned bycaller.Constructors in com.ultikits.ultitools.interfaces.impl.data.json with parameters of type SimpleJsonDataOperatorModifierConstructorDescription(package private)Captured(SimpleJsonDataOperator<?> operator, Object key, long generation, Object value)