|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use LockMode | |
|---|---|
| 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 | |
|---|---|
LockMode |
Lock.atomicGetLockMode()
Returns the current LockMode. |
LockMode |
Lock.getLockMode()
Gets the LockMode the transaction stored in the the TxnThreadLocal 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(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 | |
|---|---|
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)
Sets the Txn LockMode for all reads. |
TxnFactoryBuilder |
TxnFactoryBuilder.setWriteLockMode(LockMode lockMode)
Sets the Txn LockMode for all writes. |
| Uses of LockMode in org.multiverse.api.references |
|---|
| Methods in org.multiverse.api.references with parameters of type LockMode | |
|---|---|
E |
TxnRef.getAndLock(LockMode lockMode)
Gets the value and applies the lock. |
long |
TxnLong.getAndLock(LockMode lockMode)
Gets the value and applies the lock. |
int |
TxnInteger.getAndLock(LockMode lockMode)
Gets the value and applies the lock. |
double |
TxnDouble.getAndLock(LockMode lockMode)
Gets the value and applies the lock. |
boolean |
TxnBoolean.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. |
long |
TxnLong.getAndLock(Txn txn,
LockMode lockMode)
Gets the value using the provided txn and acquired the lock with the specified LockMode. |
int |
TxnInteger.getAndLock(Txn txn,
LockMode lockMode)
Gets the value using the provided txn and acquired the lock with the specified LockMode. |
double |
TxnDouble.getAndLock(Txn txn,
LockMode lockMode)
Gets the value using the provided txn and acquired the lock with the specified LockMode. |
boolean |
TxnBoolean.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. |
double |
TxnDouble.getAndSetAndLock(double value,
LockMode lockMode)
Sets the value, acquired the Lock with the specified Lockmode and returns the previous value. |
E |
TxnRef.getAndSetAndLock(E value,
LockMode lockMode)
Sets the value, acquired the Lock with the specified Lockmode and returns the previous value. |
int |
TxnInteger.getAndSetAndLock(int value,
LockMode lockMode)
Sets the value, acquired the Lock with the specified Lockmode and returns the previous value. |
long |
TxnLong.getAndSetAndLock(long 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(Txn txn,
double value,
LockMode lockMode)
Sets the value and acquired the Lock with the provided LockMode. |
E |
TxnRef.getAndSetAndLock(Txn txn,
E value,
LockMode lockMode)
Sets the value and acquired the Lock with the provided LockMode. |
int |
TxnInteger.getAndSetAndLock(Txn txn,
int value,
LockMode lockMode)
Sets the value and acquired the Lock with the provided LockMode. |
long |
TxnLong.getAndSetAndLock(Txn txn,
long 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. |
double |
TxnDouble.setAndLock(double value,
LockMode lockMode)
Sets the new value and applies the lock. |
E |
TxnRef.setAndLock(E value,
LockMode lockMode)
Sets the new value and applies the lock. |
int |
TxnInteger.setAndLock(int value,
LockMode lockMode)
Sets the new value and applies the lock. |
long |
TxnLong.setAndLock(long 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(Txn txn,
double value,
LockMode lockMode)
Sets the new value using the provided txn. |
E |
TxnRef.setAndLock(Txn txn,
E value,
LockMode lockMode)
Sets the new value using the provided txn. |
int |
TxnInteger.setAndLock(Txn txn,
int value,
LockMode lockMode)
Sets the new value using the provided txn. |
long |
TxnLong.setAndLock(Txn txn,
long 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 | |
|---|---|
LockMode |
GammaStmConfig.readLockMode
The default isolation level for all reads. |
LockMode |
GammaStmConfig.writeLockMode
The default isolation level for all writes. |
| Uses of LockMode in org.multiverse.stms.gamma.transactionalobjects |
|---|
| Methods in org.multiverse.stms.gamma.transactionalobjects that return LockMode | |
|---|---|
LockMode |
AbstractGammaObject.atomicGetLockMode()
|
LockMode |
AbstractGammaObject.getLockMode()
|
LockMode |
AbstractGammaObject.getLockMode(GammaTxn tx)
|
LockMode |
AbstractGammaObject.getLockMode(Txn tx)
|
| Methods in org.multiverse.stms.gamma.transactionalobjects with parameters of type LockMode | |
|---|---|
void |
BaseGammaTxnRef.acquire(GammaTxn tx,
LockMode lockMode)
|
void |
BaseGammaTxnRef.acquire(LockMode desiredLockMode)
|
void |
BaseGammaTxnRef.acquire(Txn tx,
LockMode desiredLockMode)
|
E |
GammaTxnRef.getAndLock(GammaTxn tx,
LockMode lockMode)
|
long |
GammaTxnLong.getAndLock(GammaTxn tx,
LockMode lockMode)
|
int |
GammaTxnInteger.getAndLock(GammaTxn tx,
LockMode lockMode)
|
double |
GammaTxnDouble.getAndLock(GammaTxn tx,
LockMode lockMode)
|
boolean |
GammaTxnBoolean.getAndLock(GammaTxn tx,
LockMode lockMode)
|
E |
GammaTxnRef.getAndLock(LockMode lockMode)
|
long |
GammaTxnLong.getAndLock(LockMode lockMode)
|
int |
GammaTxnInteger.getAndLock(LockMode lockMode)
|
double |
GammaTxnDouble.getAndLock(LockMode lockMode)
|
boolean |
GammaTxnBoolean.getAndLock(LockMode lockMode)
|
E |
GammaTxnRef.getAndLock(Txn tx,
LockMode lockMode)
|
long |
GammaTxnLong.getAndLock(Txn tx,
LockMode lockMode)
|
int |
GammaTxnInteger.getAndLock(Txn tx,
LockMode lockMode)
|
double |
GammaTxnDouble.getAndLock(Txn tx,
LockMode lockMode)
|
boolean |
GammaTxnBoolean.getAndLock(Txn tx,
LockMode lockMode)
|
boolean |
GammaTxnBoolean.getAndSetAndLock(boolean value,
LockMode lockMode)
|
double |
GammaTxnDouble.getAndSetAndLock(double value,
LockMode lockMode)
|
E |
GammaTxnRef.getAndSetAndLock(E value,
LockMode lockMode)
|
boolean |
GammaTxnBoolean.getAndSetAndLock(GammaTxn tx,
boolean value,
LockMode lockMode)
|
double |
GammaTxnDouble.getAndSetAndLock(GammaTxn tx,
double value,
LockMode lockMode)
|
E |
GammaTxnRef.getAndSetAndLock(GammaTxn tx,
E value,
LockMode lockMode)
|
int |
GammaTxnInteger.getAndSetAndLock(int value,
LockMode lockMode)
|
long |
GammaTxnLong.getAndSetAndLock(long value,
LockMode lockMode)
|
boolean |
GammaTxnBoolean.getAndSetAndLock(Txn tx,
boolean value,
LockMode lockMode)
|
double |
GammaTxnDouble.getAndSetAndLock(Txn tx,
double value,
LockMode lockMode)
|
E |
GammaTxnRef.getAndSetAndLock(Txn tx,
E value,
LockMode lockMode)
|
int |
GammaTxnInteger.getAndSetAndLock(Txn tx,
int value,
LockMode lockMode)
|
long |
GammaTxnLong.getAndSetAndLock(Txn tx,
long 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 Object |
BaseGammaTxnRef.getObject(GammaTxn tx,
LockMode lockMode)
|
boolean |
GammaTxnBoolean.setAndLock(boolean value,
LockMode lockMode)
|
double |
GammaTxnDouble.setAndLock(double value,
LockMode lockMode)
|
E |
GammaTxnRef.setAndLock(E value,
LockMode lockMode)
|
boolean |
GammaTxnBoolean.setAndLock(GammaTxn tx,
boolean value,
LockMode lockMode)
|
double |
GammaTxnDouble.setAndLock(GammaTxn tx,
double value,
LockMode lockMode)
|
E |
GammaTxnRef.setAndLock(GammaTxn tx,
E value,
LockMode lockMode)
|
int |
GammaTxnInteger.setAndLock(GammaTxn tx,
int value,
LockMode lockMode)
|
long |
GammaTxnLong.setAndLock(GammaTxn tx,
long value,
LockMode lockMode)
|
int |
GammaTxnInteger.setAndLock(int value,
LockMode lockMode)
|
long |
GammaTxnLong.setAndLock(long value,
LockMode lockMode)
|
boolean |
GammaTxnBoolean.setAndLock(Txn tx,
boolean value,
LockMode lockMode)
|
double |
GammaTxnDouble.setAndLock(Txn tx,
double value,
LockMode lockMode)
|
E |
GammaTxnRef.setAndLock(Txn tx,
E value,
LockMode lockMode)
|
int |
GammaTxnInteger.setAndLock(Txn tx,
int value,
LockMode lockMode)
|
long |
GammaTxnLong.setAndLock(Txn tx,
long value,
LockMode lockMode)
|
protected long |
BaseGammaTxnRef.setLong(GammaTxn tx,
LockMode lockMode,
long newValue,
boolean returnOld)
|
protected Object |
BaseGammaTxnRef.setObject(GammaTxn tx,
LockMode lockMode,
Object newValue,
boolean returnOld)
|
| Uses of LockMode in org.multiverse.stms.gamma.transactions |
|---|
| Fields in org.multiverse.stms.gamma.transactions declared as LockMode | |
|---|---|
LockMode |
GammaTxnConfig.readLockMode
|
LockMode |
GammaTxnConfig.writeLockMode
|
| Methods in org.multiverse.stms.gamma.transactions that return LockMode | |
|---|---|
LockMode |
GammaTxnConfig.getReadLockMode()
|
LockMode |
GammaTxnConfig.getWriteLockMode()
|
| Methods in org.multiverse.stms.gamma.transactions with parameters of type LockMode | |
|---|---|
GammaTxnFactoryBuilder |
GammaTxnFactoryBuilder.setReadLockMode(LockMode lockMode)
|
GammaTxnConfig |
GammaTxnConfig.setReadLockMode(LockMode readLockMode)
|
GammaTxnFactoryBuilder |
GammaTxnFactoryBuilder.setWriteLockMode(LockMode lockMode)
|
GammaTxnConfig |
GammaTxnConfig.setWriteLockMode(LockMode writeLockMode)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||