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 theTxnThreadLocalhas 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 LockModeReturns 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 TypeMethodDescriptionvoidAcquires a Lock with the provided LockMode.voidAcquires 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 TypeMethodDescriptionbooleanTxnBoolean.getAndLock(LockMode lockMode) Gets the value and applies the lock.booleanTxnBoolean.getAndLock(Txn txn, LockMode lockMode) Gets the value using the provided txn and acquired the lock with the specified LockMode.doubleTxnDouble.getAndLock(LockMode lockMode) Gets the value and applies the lock.doubleTxnDouble.getAndLock(Txn txn, LockMode lockMode) Gets the value using the provided txn and acquired the lock with the specified LockMode.intTxnInteger.getAndLock(LockMode lockMode) Gets the value and applies the lock.intTxnInteger.getAndLock(Txn txn, LockMode lockMode) Gets the value using the provided txn and acquired the lock with the specified LockMode.longTxnLong.getAndLock(LockMode lockMode) Gets the value and applies the lock.longTxnLong.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.booleanTxnBoolean.getAndSetAndLock(boolean value, LockMode lockMode) Sets the value, acquired the Lock with the specified Lockmode and returns the previous value.booleanTxnBoolean.getAndSetAndLock(Txn txn, boolean value, LockMode lockMode) Sets the value and acquired the Lock with the provided LockMode.doubleTxnDouble.getAndSetAndLock(double value, LockMode lockMode) Sets the value, acquired the Lock with the specified Lockmode and returns the previous value.doubleTxnDouble.getAndSetAndLock(Txn txn, double value, LockMode lockMode) Sets the value and acquired the Lock with the provided LockMode.intTxnInteger.getAndSetAndLock(int value, LockMode lockMode) Sets the value, acquired the Lock with the specified Lockmode and returns the previous value.intTxnInteger.getAndSetAndLock(Txn txn, int value, LockMode lockMode) Sets the value and acquired the Lock with the provided LockMode.longTxnLong.getAndSetAndLock(long value, LockMode lockMode) Sets the value, acquired the Lock with the specified Lockmode and returns the previous value.longTxnLong.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.booleanTxnBoolean.setAndLock(boolean value, LockMode lockMode) Sets the new value and applies the lock.booleanTxnBoolean.setAndLock(Txn txn, boolean value, LockMode lockMode) Sets the new value using the provided txn.doubleTxnDouble.setAndLock(double value, LockMode lockMode) Sets the new value and applies the lock.doubleTxnDouble.setAndLock(Txn txn, double value, LockMode lockMode) Sets the new value using the provided txn.intTxnInteger.setAndLock(int value, LockMode lockMode) Sets the new value and applies the lock.intTxnInteger.setAndLock(Txn txn, int value, LockMode lockMode) Sets the new value using the provided txn.longTxnLong.setAndLock(long value, LockMode lockMode) Sets the new value and applies the lock.longTxnLong.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.readLockModeThe default isolation level for all reads.GammaStmConfig.writeLockModeThe default isolation level for all writes.Methods in org.multiverse.stms.gamma with parameters of type LockModeModifier and TypeMethodDescriptionfinal GammaTxnFactoryBuilderGammaStm.GammaTxnFactoryBuilderImpl.setReadLockMode(LockMode lockMode) final GammaTxnFactoryBuilderGammaStm.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 LockModeAbstractGammaObject.atomicGetLockMode()final LockModeAbstractGammaObject.getLockMode()final LockModeAbstractGammaObject.getLockMode(Txn tx) final LockModeAbstractGammaObject.getLockMode(GammaTxn tx) Methods in org.multiverse.stms.gamma.transactionalobjects with parameters of type LockModeModifier and TypeMethodDescriptionfinal voidfinal voidfinal voidfinal booleanGammaTxnBoolean.getAndLock(LockMode lockMode) final booleanGammaTxnBoolean.getAndLock(Txn tx, LockMode lockMode) final booleanGammaTxnBoolean.getAndLock(GammaTxn tx, LockMode lockMode) final doubleGammaTxnDouble.getAndLock(LockMode lockMode) final doubleGammaTxnDouble.getAndLock(Txn tx, LockMode lockMode) final doubleGammaTxnDouble.getAndLock(GammaTxn tx, LockMode lockMode) intGammaTxnInteger.getAndLock(LockMode lockMode) final intGammaTxnInteger.getAndLock(Txn tx, LockMode lockMode) final intGammaTxnInteger.getAndLock(GammaTxn tx, LockMode lockMode) final longGammaTxnLong.getAndLock(LockMode lockMode) final longGammaTxnLong.getAndLock(Txn tx, LockMode lockMode) final longGammaTxnLong.getAndLock(GammaTxn tx, LockMode lockMode) final EGammaTxnRef.getAndLock(LockMode lockMode) final EGammaTxnRef.getAndLock(Txn tx, LockMode lockMode) final EGammaTxnRef.getAndLock(GammaTxn tx, LockMode lockMode) final booleanGammaTxnBoolean.getAndSetAndLock(boolean value, LockMode lockMode) final booleanGammaTxnBoolean.getAndSetAndLock(Txn tx, boolean value, LockMode lockMode) final booleanGammaTxnBoolean.getAndSetAndLock(GammaTxn tx, boolean value, LockMode lockMode) final doubleGammaTxnDouble.getAndSetAndLock(double value, LockMode lockMode) final doubleGammaTxnDouble.getAndSetAndLock(Txn tx, double value, LockMode lockMode) final doubleGammaTxnDouble.getAndSetAndLock(GammaTxn tx, double value, LockMode lockMode) final intGammaTxnInteger.getAndSetAndLock(int value, LockMode lockMode) final intGammaTxnInteger.getAndSetAndLock(Txn tx, int value, LockMode lockMode) final longGammaTxnLong.getAndSetAndLock(long value, LockMode lockMode) final longGammaTxnLong.getAndSetAndLock(Txn tx, long value, LockMode lockMode) final EGammaTxnRef.getAndSetAndLock(E value, LockMode lockMode) final EGammaTxnRef.getAndSetAndLock(Txn tx, E value, LockMode lockMode) final EGammaTxnRef.getAndSetAndLock(GammaTxn tx, E value, LockMode lockMode) final intGammaTxnInteger.getAndSetLock(GammaTxn tx, int value, LockMode lockMode) final longGammaTxnLong.getAndSetLock(GammaTxn tx, long value, LockMode lockMode) protected final longprotected final Objectfinal booleanGammaTxnBoolean.setAndLock(boolean value, LockMode lockMode) final booleanGammaTxnBoolean.setAndLock(Txn tx, boolean value, LockMode lockMode) final booleanGammaTxnBoolean.setAndLock(GammaTxn tx, boolean value, LockMode lockMode) final doubleGammaTxnDouble.setAndLock(double value, LockMode lockMode) final doubleGammaTxnDouble.setAndLock(Txn tx, double value, LockMode lockMode) final doubleGammaTxnDouble.setAndLock(GammaTxn tx, double value, LockMode lockMode) final intGammaTxnInteger.setAndLock(int value, LockMode lockMode) final intGammaTxnInteger.setAndLock(Txn tx, int value, LockMode lockMode) final intGammaTxnInteger.setAndLock(GammaTxn tx, int value, LockMode lockMode) final longGammaTxnLong.setAndLock(long value, LockMode lockMode) final longGammaTxnLong.setAndLock(Txn tx, long value, LockMode lockMode) final longGammaTxnLong.setAndLock(GammaTxn tx, long value, LockMode lockMode) final EGammaTxnRef.setAndLock(E value, LockMode lockMode) final EGammaTxnRef.setAndLock(Txn tx, E value, LockMode lockMode) final EGammaTxnRef.setAndLock(GammaTxn tx, E value, LockMode lockMode) protected final longprotected 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)