Package | Description |
---|---|
org.multiverse.api | |
org.multiverse.stms.gamma | |
org.multiverse.stms.gamma.transactions |
Modifier and Type | Class and Description |
---|---|
class |
DefaultBackoffPolicy
A
BackoffPolicy that does an 'exponential' backoff. |
Modifier and Type | Field and Description |
---|---|
static BackoffPolicy |
DefaultBackoffPolicy.MAX_100_MS |
Modifier and Type | Method and Description |
---|---|
BackoffPolicy |
TxnConfig.getBackoffPolicy()
Returns the BackoffPolicy used by the Stm when a transaction conflicts with another transaction.
|
Modifier and Type | Method and Description |
---|---|
TxnFactoryBuilder |
TxnFactoryBuilder.setBackoffPolicy(BackoffPolicy backoffPolicy)
Sets the
Txn BackoffPolicy . |
Modifier and Type | Field and Description |
---|---|
BackoffPolicy |
GammaStmConfig.backoffPolicy
If a transaction fails for a read/write conflict it should not hammer the system by trying again and running in the same conflict
The default backoff policy helps to back threads of by sleeping/yielding.
|
protected BackoffPolicy |
AbstractGammaTxnExecutor.backoffPolicy |
BackoffPolicy |
GammaStm.defaultBackoffPolicy |
Modifier and Type | Field and Description |
---|---|
BackoffPolicy |
GammaTxnConfig.backoffPolicy |
Modifier and Type | Method and Description |
---|---|
BackoffPolicy |
GammaTxnConfig.getBackoffPolicy() |
Modifier and Type | Method and Description |
---|---|
GammaTxnConfig |
GammaTxnConfig.setBackoffPolicy(BackoffPolicy backoffPolicy) |
GammaTxnFactoryBuilder |
GammaTxnFactoryBuilder.setBackoffPolicy(BackoffPolicy backoffPolicy) |
Copyright © 2020. All rights reserved.