public final class GammaTxnPool extends Object implements GammaConstants
FAILURE, MASK_CONFLICT, MASK_SUCCESS, MASK_UNREGISTERED, REGISTRATION_DONE, REGISTRATION_NONE, REGISTRATION_NOT_NEEDED, TRANLOCAL_COMMUTING, TRANLOCAL_CONSTRUCTING, TRANLOCAL_READ, TRANLOCAL_WRITE, TRANSACTIONTYPE_FAT_FIXED_LENGTH, TRANSACTIONTYPE_FAT_MONO, TRANSACTIONTYPE_FAT_VARIABLE_LENGTH, TRANSACTIONTYPE_LEAN_FIXED_LENGTH, TRANSACTIONTYPE_LEAN_MONO, TX_ABORTED, TX_ACTIVE, TX_COMMITTED, TX_PREPARED, TYPE_BOOLEAN, TYPE_DOUBLE, TYPE_INT, TYPE_LONG, TYPE_REF, VERSION_UNCOMMITTED
LOCKMODE_EXCLUSIVE, LOCKMODE_NONE, LOCKMODE_READ, LOCKMODE_WRITE, SHAKE_BUGS, SPIN_YIELD, TRACING_ENABLED
Constructor and Description |
---|
GammaTxnPool() |
Modifier and Type | Method and Description |
---|---|
void |
put(GammaTxn tx)
Puts a GammaTxn in the pool.
|
FatFixedLengthGammaTxn |
takeFatFixedLength()
Takes a FatArrayGammaTxn from the pool.
|
FatMonoGammaTxn |
takeFatMono()
Takes a FatMonoGammaTxn from the pool.
|
LeanFixedLengthGammaTxn |
takeLeanFixedLength()
Takes a FatArrayGammaTxn from the pool.
|
LeanMonoGammaTxn |
takeLeanMono()
Takes a FatMonoGammaTxn from the pool.
|
FatVariableLengthGammaTxn |
takeMap()
Takes a FatArrayTreeGammaTxn from the pool.
|
public FatMonoGammaTxn takeFatMono()
public FatFixedLengthGammaTxn takeFatFixedLength()
public LeanMonoGammaTxn takeLeanMono()
public LeanFixedLengthGammaTxn takeLeanFixedLength()
public FatVariableLengthGammaTxn takeMap()
public void put(GammaTxn tx)
tx
- the GammaTxn to put in the pool.NullPointerException
- if tx is null.Copyright © 2020. All rights reserved.