Uses of Class
org.multiverse.api.LockMode
-
Packages that use LockMode Package Description org.multiverse.api org.multiverse.api.references org.multiverse.stms.gamma org.multiverse.stms.gamma.transactionalobjects org.multiverse.stms.gamma.transactions -
-
Uses of LockMode in org.multiverse.api
Methods in org.multiverse.api that return LockMode Modifier and Type Method Description LockMode
Lock. atomicGetLockMode()
Returns the current LockMode.LockMode
Lock. getLockMode()
Gets the LockMode the transaction stored in the theTxnThreadLocal
has on this Lock.LockMode
Lock. getLockMode(Txn txn)
Gets the LockMode the transaction has on the Lock.LockMode
TxnConfig. getReadLockMode()
Gets the current LockMode for all reads.LockMode
TxnConfig. getWriteLockMode()
Gets the current LockMode for all writes.static LockMode
LockMode. valueOf(java.lang.String name)
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 LockMode Modifier and Type Method Description void
Lock. acquire(LockMode desiredLockMode)
Acquires a Lock with the provided LockMode.void
Lock. acquire(Txn txn, LockMode desiredLockMode)
Acquires a Lock with the provided LockMode using the provided transaction.TxnFactoryBuilder
TxnFactoryBuilder. setReadLockMode(LockMode lockMode)
TxnFactoryBuilder
TxnFactoryBuilder. setWriteLockMode(LockMode lockMode)
-
Uses of LockMode in org.multiverse.api.references
Methods in org.multiverse.api.references with parameters of type LockMode Modifier and Type Method Description boolean
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.E
TxnRef. getAndLock(LockMode lockMode)
Gets the value and applies the lock.E
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.E
TxnRef. getAndSetAndLock(E value, LockMode lockMode)
Sets the value, acquired the Lock with the specified Lockmode and returns the previous value.E
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.E
TxnRef. setAndLock(E value, LockMode lockMode)
Sets the new value and applies the lock.E
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 LockMode Modifier and Type Field Description LockMode
GammaStmConfig. readLockMode
The default isolation level for all reads.LockMode
GammaStmConfig. writeLockMode
The default isolation level for all writes.Methods in org.multiverse.stms.gamma with parameters of type LockMode Modifier and Type Method Description GammaTxnFactoryBuilder
GammaStm.GammaTxnFactoryBuilderImpl. setReadLockMode(LockMode lockMode)
GammaTxnFactoryBuilder
GammaStm.GammaTxnFactoryBuilderImpl. setWriteLockMode(LockMode lockMode)
-
Uses of LockMode in org.multiverse.stms.gamma.transactionalobjects
Methods in org.multiverse.stms.gamma.transactionalobjects that return LockMode Modifier and Type Method Description LockMode
AbstractGammaObject. atomicGetLockMode()
LockMode
AbstractGammaObject. getLockMode()
LockMode
AbstractGammaObject. getLockMode(Txn tx)
LockMode
AbstractGammaObject. getLockMode(GammaTxn tx)
Methods in org.multiverse.stms.gamma.transactionalobjects with parameters of type LockMode Modifier and Type Method Description void
BaseGammaTxnRef. acquire(LockMode desiredLockMode)
void
BaseGammaTxnRef. acquire(Txn tx, LockMode desiredLockMode)
void
BaseGammaTxnRef. acquire(GammaTxn tx, LockMode lockMode)
boolean
GammaTxnBoolean. getAndLock(LockMode lockMode)
boolean
GammaTxnBoolean. getAndLock(Txn tx, LockMode lockMode)
boolean
GammaTxnBoolean. getAndLock(GammaTxn tx, LockMode lockMode)
double
GammaTxnDouble. getAndLock(LockMode lockMode)
double
GammaTxnDouble. getAndLock(Txn tx, LockMode lockMode)
double
GammaTxnDouble. getAndLock(GammaTxn tx, LockMode lockMode)
int
GammaTxnInteger. getAndLock(LockMode lockMode)
int
GammaTxnInteger. getAndLock(Txn tx, LockMode lockMode)
int
GammaTxnInteger. getAndLock(GammaTxn tx, LockMode lockMode)
long
GammaTxnLong. getAndLock(LockMode lockMode)
long
GammaTxnLong. getAndLock(Txn tx, LockMode lockMode)
long
GammaTxnLong. getAndLock(GammaTxn tx, LockMode lockMode)
E
GammaTxnRef. getAndLock(LockMode lockMode)
E
GammaTxnRef. getAndLock(Txn tx, LockMode lockMode)
E
GammaTxnRef. getAndLock(GammaTxn tx, LockMode lockMode)
boolean
GammaTxnBoolean. getAndSetAndLock(boolean value, LockMode lockMode)
boolean
GammaTxnBoolean. getAndSetAndLock(Txn tx, boolean value, LockMode lockMode)
boolean
GammaTxnBoolean. getAndSetAndLock(GammaTxn tx, boolean value, LockMode lockMode)
double
GammaTxnDouble. getAndSetAndLock(double value, LockMode lockMode)
double
GammaTxnDouble. getAndSetAndLock(Txn tx, double value, LockMode lockMode)
double
GammaTxnDouble. getAndSetAndLock(GammaTxn tx, double value, LockMode lockMode)
int
GammaTxnInteger. getAndSetAndLock(int value, LockMode lockMode)
int
GammaTxnInteger. getAndSetAndLock(Txn tx, int value, LockMode lockMode)
long
GammaTxnLong. getAndSetAndLock(long value, LockMode lockMode)
long
GammaTxnLong. getAndSetAndLock(Txn tx, long value, LockMode lockMode)
E
GammaTxnRef. getAndSetAndLock(E value, LockMode lockMode)
E
GammaTxnRef. getAndSetAndLock(Txn tx, E value, LockMode lockMode)
E
GammaTxnRef. getAndSetAndLock(GammaTxn tx, E value, LockMode lockMode)
int
GammaTxnInteger. getAndSetLock(GammaTxn tx, int value, LockMode lockMode)
long
GammaTxnLong. getAndSetLock(GammaTxn tx, long value, LockMode lockMode)
protected long
BaseGammaTxnRef. getLong(GammaTxn tx, LockMode lockMode)
protected java.lang.Object
BaseGammaTxnRef. getObject(GammaTxn tx, LockMode lockMode)
boolean
GammaTxnBoolean. setAndLock(boolean value, LockMode lockMode)
boolean
GammaTxnBoolean. setAndLock(Txn tx, boolean value, LockMode lockMode)
boolean
GammaTxnBoolean. setAndLock(GammaTxn tx, boolean value, LockMode lockMode)
double
GammaTxnDouble. setAndLock(double value, LockMode lockMode)
double
GammaTxnDouble. setAndLock(Txn tx, double value, LockMode lockMode)
double
GammaTxnDouble. setAndLock(GammaTxn tx, double value, LockMode lockMode)
int
GammaTxnInteger. setAndLock(int value, LockMode lockMode)
int
GammaTxnInteger. setAndLock(Txn tx, int value, LockMode lockMode)
int
GammaTxnInteger. setAndLock(GammaTxn tx, int value, LockMode lockMode)
long
GammaTxnLong. setAndLock(long value, LockMode lockMode)
long
GammaTxnLong. setAndLock(Txn tx, long value, LockMode lockMode)
long
GammaTxnLong. setAndLock(GammaTxn tx, long value, LockMode lockMode)
E
GammaTxnRef. setAndLock(E value, LockMode lockMode)
E
GammaTxnRef. setAndLock(Txn tx, E value, LockMode lockMode)
E
GammaTxnRef. setAndLock(GammaTxn tx, E value, LockMode lockMode)
protected long
BaseGammaTxnRef. setLong(GammaTxn tx, LockMode lockMode, long newValue, boolean returnOld)
protected java.lang.Object
BaseGammaTxnRef. setObject(GammaTxn tx, LockMode lockMode, java.lang.Object newValue, boolean returnOld)
-
Uses of LockMode in org.multiverse.stms.gamma.transactions
Fields in org.multiverse.stms.gamma.transactions declared as LockMode Modifier and Type Field Description LockMode
GammaTxnConfig. readLockMode
LockMode
GammaTxnConfig. writeLockMode
Methods in org.multiverse.stms.gamma.transactions that return LockMode Modifier and Type Method Description LockMode
GammaTxnConfig. getReadLockMode()
LockMode
GammaTxnConfig. getWriteLockMode()
Methods in org.multiverse.stms.gamma.transactions with parameters of type LockMode Modifier and Type Method Description GammaTxnConfig
GammaTxnConfig. setReadLockMode(LockMode readLockMode)
GammaTxnFactoryBuilder
GammaTxnFactoryBuilder. setReadLockMode(LockMode lockMode)
GammaTxnConfig
GammaTxnConfig. setWriteLockMode(LockMode writeLockMode)
GammaTxnFactoryBuilder
GammaTxnFactoryBuilder. setWriteLockMode(LockMode lockMode)
-