public final class SmokeRunnerParameters
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
SmokeRunnerParameters() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
asMap() |
static SmokeRunnerParameters |
from(java.util.Map<java.lang.String,java.lang.String> globalConfiguration)
Creates an instance of ModuleParameters from a key-value map.
|
double |
getAsyncSendPr() |
int |
getCommandDepth() |
int |
getMaxCommandsPerDepth() |
int |
getMaxFailures() |
int |
getMessageCount() |
double |
getNoopPr() |
int |
getNumberOfFunctionInstances() |
long |
getRandomGeneratorSeed() |
double |
getSendAfterPr() |
double |
getSendAfterWithCancellationPr() |
double |
getSendEgressPr() |
double |
getSendPr() |
double |
getStateModificationsPr() |
java.lang.String |
getVerificationServerHost() |
int |
getVerificationServerPort() |
boolean |
isAsyncOpSupported() |
boolean |
isDelayCancellationOpSupported() |
void |
setAsyncOpSupported(boolean asyncOpSupported) |
void |
setAsyncSendPr(double asyncSendPr) |
void |
setCommandDepth(int commandDepth) |
void |
setDelayCancellationOpSupported(boolean delayCancellationOpSupported) |
void |
setMaxCommandsPerDepth(int maxCommandsPerDepth) |
void |
setMaxFailures(int maxFailures) |
void |
setMessageCount(int messageCount) |
void |
setNoopPr(double noopPr) |
void |
setNumberOfFunctionInstances(int numberOfFunctionInstances) |
void |
setRandomGeneratorSeed(long randomGeneratorSeed) |
void |
setSendAfterPr(double sendAfterPr) |
void |
setSendAfterWithCancellationPr(double sendAfterWithCancellationPr) |
void |
setSendEgressPr(double sendEgressPr) |
void |
setSendPr(double sendPr) |
void |
setStateModificationsPr(double stateModificationsPr) |
void |
setVerificationServerHost(java.lang.String verificationServerHost) |
void |
setVerificationServerPort(int verificationServerPort) |
java.lang.String |
toString() |
public static SmokeRunnerParameters from(java.util.Map<java.lang.String,java.lang.String> globalConfiguration)
public java.util.Map<java.lang.String,java.lang.String> asMap()
public int getNumberOfFunctionInstances()
public void setNumberOfFunctionInstances(int numberOfFunctionInstances)
public int getCommandDepth()
public void setCommandDepth(int commandDepth)
public int getMessageCount()
public void setMessageCount(int messageCount)
public int getMaxCommandsPerDepth()
public void setMaxCommandsPerDepth(int maxCommandsPerDepth)
public double getStateModificationsPr()
public void setStateModificationsPr(double stateModificationsPr)
public double getSendPr()
public void setSendPr(double sendPr)
public double getSendAfterPr()
public boolean isDelayCancellationOpSupported()
public void setDelayCancellationOpSupported(boolean delayCancellationOpSupported)
public void setSendAfterPr(double sendAfterPr)
public double getAsyncSendPr()
public void setAsyncSendPr(double asyncSendPr)
public double getNoopPr()
public void setNoopPr(double noopPr)
public double getSendEgressPr()
public void setSendEgressPr(double sendEgressPr)
public void setMaxFailures(int maxFailures)
public int getMaxFailures()
public java.lang.String getVerificationServerHost()
public void setVerificationServerHost(java.lang.String verificationServerHost)
public int getVerificationServerPort()
public void setVerificationServerPort(int verificationServerPort)
public double getSendAfterWithCancellationPr()
public void setSendAfterWithCancellationPr(double sendAfterWithCancellationPr)
public boolean isAsyncOpSupported()
public void setAsyncOpSupported(boolean asyncOpSupported)
public long getRandomGeneratorSeed()
public void setRandomGeneratorSeed(long randomGeneratorSeed)
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.