Class SpeculativeGammaConfiguration
java.lang.Object
org.multiverse.stms.gamma.transactions.SpeculativeGammaConfiguration
The GammaStm uses a speculative mechanism (if enabled) to learn from executing transactions. Transactions start
cheap and with a lot of features disabled, but once the speculation failed, the SpeculativeGammaConfguration
is 'updated'.
This class is immutable.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal boolean
final boolean
final boolean
final boolean
final boolean
final boolean
final boolean
final int
final boolean
final boolean
final boolean
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a full speculative SpeculativeGammaConfiguration.SpeculativeGammaConfiguration
(boolean isFat, boolean listenersDetected, boolean isCommuteDetected, boolean isNonRefTypeDetected, boolean isOrelseDetected, boolean locksDetected, boolean constructedObjectsDetected, boolean isRichMansConflictScanRequired, boolean isAbortOnlyDetected, boolean ensureDetected, int minimalLength) -
Method Summary
-
Field Details
-
listenersDetected
public final boolean listenersDetected -
commuteDetected
public final boolean commuteDetected -
orelseDetected
public final boolean orelseDetected -
nonRefTypeDetected
public final boolean nonRefTypeDetected -
fat
public final boolean fat -
locksDetected
public final boolean locksDetected -
constructedObjectsDetected
public final boolean constructedObjectsDetected -
richMansConflictScanRequired
public final boolean richMansConflictScanRequired -
abortOnlyDetected
public final boolean abortOnlyDetected -
ensureDetected
public final boolean ensureDetected -
minimalLength
public final int minimalLength
-
-
Constructor Details
-
SpeculativeGammaConfiguration
public SpeculativeGammaConfiguration()Creates a full speculative SpeculativeGammaConfiguration. -
SpeculativeGammaConfiguration
public SpeculativeGammaConfiguration(boolean isFat, boolean listenersDetected, boolean isCommuteDetected, boolean isNonRefTypeDetected, boolean isOrelseDetected, boolean locksDetected, boolean constructedObjectsDetected, boolean isRichMansConflictScanRequired, boolean isAbortOnlyDetected, boolean ensureDetected, int minimalLength)
-
-
Method Details