Uses of Enum
org.multiverse.api.LockMode
Packages that use LockMode
Package
Description
-
Uses of LockMode in org.multiverse.api
Methods in org.multiverse.api that return LockModeModifier and TypeMethodDescriptionLock.atomicGetLockMode()
Returns the current LockMode.Lock.getLockMode()
Gets the LockMode the transaction stored in the theTxnThreadLocal
has on this Lock.Lock.getLockMode
(Txn txn) Gets the LockMode the transaction has on the Lock.TxnConfig.getReadLockMode()
Gets the current LockMode for all reads.TxnConfig.getWriteLockMode()
Gets the current LockMode for all writes.static LockMode
Returns the enum constant of this type with the specified name.static LockMode[]
LockMode.values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.multiverse.api with parameters of type LockModeModifier and TypeMethodDescriptionvoid
Acquires a Lock with the provided LockMode.void
Acquires a Lock with the provided LockMode using the provided transaction.TxnFactoryBuilder.setReadLockMode
(LockMode lockMode) TxnFactoryBuilder.setWriteLockMode
(LockMode lockMode) -
Uses of LockMode in org.multiverse.api.references
Methods in org.multiverse.api.references with parameters of type LockModeModifier and TypeMethodDescriptionboolean
TxnBoolean.getAndLock
(LockMode lockMode) Gets the value and applies the lock.boolean
TxnBoolean.getAndLock
(Txn txn, LockMode lockMode) Gets the value using the provided txn and acquired the lock with the specified LockMode.double
TxnDouble.getAndLock
(LockMode lockMode) Gets the value and applies the lock.double
TxnDouble.getAndLock
(Txn txn, LockMode lockMode) Gets the value using the provided txn and acquired the lock with the specified LockMode.int
TxnInteger.getAndLock
(LockMode lockMode) Gets the value and applies the lock.int
TxnInteger.getAndLock
(Txn txn, LockMode lockMode) Gets the value using the provided txn and acquired the lock with the specified LockMode.long
TxnLong.getAndLock
(LockMode lockMode) Gets the value and applies the lock.long
TxnLong.getAndLock
(Txn txn, LockMode lockMode) Gets the value using the provided txn and acquired the lock with the specified LockMode.TxnRef.getAndLock
(LockMode lockMode) Gets the value and applies the lock.TxnRef.getAndLock
(Txn txn, LockMode lockMode) Gets the value using the provided txn and acquired the lock with the specified LockMode.boolean
TxnBoolean.getAndSetAndLock
(boolean value, LockMode lockMode) Sets the value, acquired the Lock with the specified Lockmode and returns the previous value.boolean
TxnBoolean.getAndSetAndLock
(Txn txn, boolean value, LockMode lockMode) Sets the value and acquired the Lock with the provided LockMode.double
TxnDouble.getAndSetAndLock
(double value, LockMode lockMode) Sets the value, acquired the Lock with the specified Lockmode and returns the previous value.double
TxnDouble.getAndSetAndLock
(Txn txn, double value, LockMode lockMode) Sets the value and acquired the Lock with the provided LockMode.int
TxnInteger.getAndSetAndLock
(int value, LockMode lockMode) Sets the value, acquired the Lock with the specified Lockmode and returns the previous value.int
TxnInteger.getAndSetAndLock
(Txn txn, int value, LockMode lockMode) Sets the value and acquired the Lock with the provided LockMode.long
TxnLong.getAndSetAndLock
(long value, LockMode lockMode) Sets the value, acquired the Lock with the specified Lockmode and returns the previous value.long
TxnLong.getAndSetAndLock
(Txn txn, long value, LockMode lockMode) Sets the value and acquired the Lock with the provided LockMode.TxnRef.getAndSetAndLock
(E value, LockMode lockMode) Sets the value, acquired the Lock with the specified Lockmode and returns the previous value.TxnRef.getAndSetAndLock
(Txn txn, E value, LockMode lockMode) Sets the value and acquired the Lock with the provided LockMode.boolean
TxnBoolean.setAndLock
(boolean value, LockMode lockMode) Sets the new value and applies the lock.boolean
TxnBoolean.setAndLock
(Txn txn, boolean value, LockMode lockMode) Sets the new value using the provided txn.double
TxnDouble.setAndLock
(double value, LockMode lockMode) Sets the new value and applies the lock.double
TxnDouble.setAndLock
(Txn txn, double value, LockMode lockMode) Sets the new value using the provided txn.int
TxnInteger.setAndLock
(int value, LockMode lockMode) Sets the new value and applies the lock.int
TxnInteger.setAndLock
(Txn txn, int value, LockMode lockMode) Sets the new value using the provided txn.long
TxnLong.setAndLock
(long value, LockMode lockMode) Sets the new value and applies the lock.long
TxnLong.setAndLock
(Txn txn, long value, LockMode lockMode) Sets the new value using the provided txn.TxnRef.setAndLock
(E value, LockMode lockMode) Sets the new value and applies the lock.TxnRef.setAndLock
(Txn txn, E value, LockMode lockMode) Sets the new value using the provided txn. -
Uses of LockMode in org.multiverse.stms.gamma
Fields in org.multiverse.stms.gamma declared as LockModeModifier and TypeFieldDescriptionGammaStmConfig.readLockMode
The default isolation level for all reads.GammaStmConfig.writeLockMode
The default isolation level for all writes.Methods in org.multiverse.stms.gamma with parameters of type LockModeModifier and TypeMethodDescriptionfinal GammaTxnFactoryBuilder
GammaStm.GammaTxnFactoryBuilderImpl.setReadLockMode
(LockMode lockMode) final GammaTxnFactoryBuilder
GammaStm.GammaTxnFactoryBuilderImpl.setWriteLockMode
(LockMode lockMode) -
Uses of LockMode in org.multiverse.stms.gamma.transactionalobjects
Methods in org.multiverse.stms.gamma.transactionalobjects that return LockModeModifier and TypeMethodDescriptionfinal LockMode
AbstractGammaObject.atomicGetLockMode()
final LockMode
AbstractGammaObject.getLockMode()
final LockMode
AbstractGammaObject.getLockMode
(Txn tx) final LockMode
AbstractGammaObject.getLockMode
(GammaTxn tx) Methods in org.multiverse.stms.gamma.transactionalobjects with parameters of type LockModeModifier and TypeMethodDescriptionfinal void
final void
final void
final boolean
GammaTxnBoolean.getAndLock
(LockMode lockMode) final boolean
GammaTxnBoolean.getAndLock
(Txn tx, LockMode lockMode) final boolean
GammaTxnBoolean.getAndLock
(GammaTxn tx, LockMode lockMode) final double
GammaTxnDouble.getAndLock
(LockMode lockMode) final double
GammaTxnDouble.getAndLock
(Txn tx, LockMode lockMode) final double
GammaTxnDouble.getAndLock
(GammaTxn tx, LockMode lockMode) int
GammaTxnInteger.getAndLock
(LockMode lockMode) final int
GammaTxnInteger.getAndLock
(Txn tx, LockMode lockMode) final int
GammaTxnInteger.getAndLock
(GammaTxn tx, LockMode lockMode) final long
GammaTxnLong.getAndLock
(LockMode lockMode) final long
GammaTxnLong.getAndLock
(Txn tx, LockMode lockMode) final long
GammaTxnLong.getAndLock
(GammaTxn tx, LockMode lockMode) final E
GammaTxnRef.getAndLock
(LockMode lockMode) final E
GammaTxnRef.getAndLock
(Txn tx, LockMode lockMode) final E
GammaTxnRef.getAndLock
(GammaTxn tx, LockMode lockMode) final boolean
GammaTxnBoolean.getAndSetAndLock
(boolean value, LockMode lockMode) final boolean
GammaTxnBoolean.getAndSetAndLock
(Txn tx, boolean value, LockMode lockMode) final boolean
GammaTxnBoolean.getAndSetAndLock
(GammaTxn tx, boolean value, LockMode lockMode) final double
GammaTxnDouble.getAndSetAndLock
(double value, LockMode lockMode) final double
GammaTxnDouble.getAndSetAndLock
(Txn tx, double value, LockMode lockMode) final double
GammaTxnDouble.getAndSetAndLock
(GammaTxn tx, double value, LockMode lockMode) final int
GammaTxnInteger.getAndSetAndLock
(int value, LockMode lockMode) final int
GammaTxnInteger.getAndSetAndLock
(Txn tx, int value, LockMode lockMode) final long
GammaTxnLong.getAndSetAndLock
(long value, LockMode lockMode) final long
GammaTxnLong.getAndSetAndLock
(Txn tx, long value, LockMode lockMode) final E
GammaTxnRef.getAndSetAndLock
(E value, LockMode lockMode) final E
GammaTxnRef.getAndSetAndLock
(Txn tx, E value, LockMode lockMode) final E
GammaTxnRef.getAndSetAndLock
(GammaTxn tx, E value, LockMode lockMode) final int
GammaTxnInteger.getAndSetLock
(GammaTxn tx, int value, LockMode lockMode) final long
GammaTxnLong.getAndSetLock
(GammaTxn tx, long value, LockMode lockMode) protected final long
protected final Object
final boolean
GammaTxnBoolean.setAndLock
(boolean value, LockMode lockMode) final boolean
GammaTxnBoolean.setAndLock
(Txn tx, boolean value, LockMode lockMode) final boolean
GammaTxnBoolean.setAndLock
(GammaTxn tx, boolean value, LockMode lockMode) final double
GammaTxnDouble.setAndLock
(double value, LockMode lockMode) final double
GammaTxnDouble.setAndLock
(Txn tx, double value, LockMode lockMode) final double
GammaTxnDouble.setAndLock
(GammaTxn tx, double value, LockMode lockMode) final int
GammaTxnInteger.setAndLock
(int value, LockMode lockMode) final int
GammaTxnInteger.setAndLock
(Txn tx, int value, LockMode lockMode) final int
GammaTxnInteger.setAndLock
(GammaTxn tx, int value, LockMode lockMode) final long
GammaTxnLong.setAndLock
(long value, LockMode lockMode) final long
GammaTxnLong.setAndLock
(Txn tx, long value, LockMode lockMode) final long
GammaTxnLong.setAndLock
(GammaTxn tx, long value, LockMode lockMode) final E
GammaTxnRef.setAndLock
(E value, LockMode lockMode) final E
GammaTxnRef.setAndLock
(Txn tx, E value, LockMode lockMode) final E
GammaTxnRef.setAndLock
(GammaTxn tx, E value, LockMode lockMode) protected final long
protected final Object
-
Uses of LockMode in org.multiverse.stms.gamma.transactions
Fields in org.multiverse.stms.gamma.transactions declared as LockModeMethods in org.multiverse.stms.gamma.transactions that return LockModeModifier and TypeMethodDescriptionGammaTxnConfig.getReadLockMode()
GammaTxnConfig.getWriteLockMode()
Methods in org.multiverse.stms.gamma.transactions with parameters of type LockModeModifier and TypeMethodDescriptionGammaTxnConfig.setReadLockMode
(LockMode readLockMode) GammaTxnFactoryBuilder.setReadLockMode
(LockMode lockMode) GammaTxnConfig.setWriteLockMode
(LockMode writeLockMode) GammaTxnFactoryBuilder.setWriteLockMode
(LockMode lockMode)