public class TOMConfiguration extends Configuration
Constructor and Description |
---|
TOMConfiguration(int processId)
Creates a new instance of TOMConfiguration
|
TOMConfiguration(int processId,
java.lang.String configHome)
Creates a new instance of TOMConfiguration
|
TOMConfiguration(int processId,
java.lang.String configHome,
java.lang.String hostsFileName)
Creates a new instance of TOMConfiguration
|
Modifier and Type | Method and Description |
---|---|
int |
getCheckpointPeriod()
Indicates the checkpoint period used when fetching the state from the application
|
int |
getF() |
int |
getGlobalCheckpointPeriod()
Indicates the checkpoint period used when fetching the state from the application
|
int[] |
getInitialView() |
int |
getInQueueSize() |
int |
getMaxBatchSize() |
int |
getN() |
int |
getNumberOfNIOThreads()
*
|
int |
getNumberOfNonces() |
int |
getOutQueueSize() |
int |
getPaxosHighMark() |
int |
getReplyVerificationTime() |
int |
getRequestTimeout() |
int |
getRevivalHighMark() |
java.security.PrivateKey |
getRSAPrivateKey() |
java.security.PublicKey |
getRSAPublicKey() |
int |
getTimeoutHighMark() |
int |
getTTPId() |
int |
getUseControlFlow()
Indicates if a simple control flow mechanism should be used to avoid an overflow of client requests
|
int |
getUseMACs()
Indicates if MACs should be used (1) or not (0) to authenticate client-server and server-server messages
|
int |
getUseSignatures()
Indicates if signatures should be used (1) or not (0) to authenticate client requests
|
java.lang.String |
getViewStoreClass() |
boolean |
isBFT() |
boolean |
isShutdownHookEnabled() |
boolean |
isStateTransferEnabled() |
boolean |
isTheTTP() |
boolean |
isToLog() |
boolean |
isToLogParallel() |
boolean |
isToWriteCkpsToDisk() |
boolean |
isToWriteSyncCkp() |
boolean |
isToWriteSyncLog() |
boolean |
isUseSenderThread() |
boolean |
logToDisk() |
addHostInfo, getAutoConnectLimit, getDHG, getDHP, getHmacAlgorithm, getHmacSize, getHost, getLocalAddress, getPort, getProcessId, getProperties, getProperty, getRemoteAddress, getServerToServerPort, getServerToServerRemoteAddress, isHostSetted, setProcessId, useBlockingChannels
public TOMConfiguration(int processId)
public TOMConfiguration(int processId, java.lang.String configHome)
public TOMConfiguration(int processId, java.lang.String configHome, java.lang.String hostsFileName)
public java.lang.String getViewStoreClass()
public boolean isTheTTP()
public final int[] getInitialView()
public int getTTPId()
public int getRequestTimeout()
public int getReplyVerificationTime()
public int getN()
public int getF()
public int getPaxosHighMark()
public int getRevivalHighMark()
public int getTimeoutHighMark()
public int getMaxBatchSize()
public boolean isShutdownHookEnabled()
public boolean isStateTransferEnabled()
public int getInQueueSize()
public int getOutQueueSize()
public boolean isUseSenderThread()
public int getNumberOfNIOThreads()
public int getNumberOfNonces()
public int getUseSignatures()
public int getUseMACs()
public int getCheckpointPeriod()
public boolean isToWriteCkpsToDisk()
public boolean isToWriteSyncCkp()
public boolean isToLog()
public boolean isToWriteSyncLog()
public boolean logToDisk()
public boolean isToLogParallel()
public int getGlobalCheckpointPeriod()
public int getUseControlFlow()
public java.security.PublicKey getRSAPublicKey()
public java.security.PrivateKey getRSAPrivateKey()
public boolean isBFT()