Class TOMConfiguration

    • Field Detail

      • n

        protected int n
      • f

        protected int f
      • requestTimeout

        protected int requestTimeout
      • batchTimeout

        protected int batchTimeout
      • tomPeriod

        protected int tomPeriod
      • paxosHighMark

        protected int paxosHighMark
      • revivalHighMark

        protected int revivalHighMark
      • timeoutHighMark

        protected int timeoutHighMark
      • replyVerificationTime

        protected int replyVerificationTime
      • maxBatchSize

        protected int maxBatchSize
      • maxBatchSizeInBytes

        protected int maxBatchSizeInBytes
      • numberOfNonces

        protected int numberOfNonces
      • inQueueSize

        protected int inQueueSize
      • outQueueSize

        protected int outQueueSize
      • shutdownHookEnabled

        protected boolean shutdownHookEnabled
      • useSenderThread

        protected boolean useSenderThread
    • Constructor Detail

      • TOMConfiguration

        public TOMConfiguration​(int processId,
                                KeyLoader loader)
        Creates a new instance of TOMConfiguration
      • TOMConfiguration

        public TOMConfiguration​(int processId,
                                java.lang.String configHome,
                                KeyLoader loader)
        Creates a new instance of TOMConfiguration
    • Method Detail

      • getViewStoreClass

        public java.lang.String getViewStoreClass()
      • isTheTTP

        public boolean isTheTTP()
      • getInitialView

        public final int[] getInitialView()
      • getTTPId

        public int getTTPId()
      • getRequestTimeout

        public int getRequestTimeout()
      • getBatchTimeout

        public int getBatchTimeout()
      • getReplyVerificationTime

        public int getReplyVerificationTime()
      • getN

        public int getN()
      • getF

        public int getF()
      • getPaxosHighMark

        public int getPaxosHighMark()
      • getRevivalHighMark

        public int getRevivalHighMark()
      • getTimeoutHighMark

        public int getTimeoutHighMark()
      • getMaxBatchSize

        public int getMaxBatchSize()
      • getMaxBatchSizeInBytes

        public int getMaxBatchSizeInBytes()
        The maximum size a batch of messages can have in bytes. This limit is useful for performance and memory limiting reasons when handling large requests.
      • isShutdownHookEnabled

        public boolean isShutdownHookEnabled()
      • isStateTransferEnabled

        public boolean isStateTransferEnabled()
      • getInQueueSize

        public int getInQueueSize()
      • getOutQueueSize

        public int getOutQueueSize()
      • isUseSenderThread

        public boolean isUseSenderThread()
      • getNumberOfNIOThreads

        public int getNumberOfNIOThreads()
        *
      • getNumberOfNonces

        public int getNumberOfNonces()
        Returns:
        the numberOfNonces
      • getUseSignatures

        public int getUseSignatures()
        Indicates if signatures should be used (1) or not (0) to authenticate client requests
      • getCheckpointPeriod

        public int getCheckpointPeriod()
        Indicates the checkpoint period used when fetching the state from the application
      • isToWriteCkpsToDisk

        public boolean isToWriteCkpsToDisk()
      • isToWriteSyncCkp

        public boolean isToWriteSyncCkp()
      • isToLog

        public boolean isToLog()
      • isToWriteSyncLog

        public boolean isToWriteSyncLog()
      • logToDisk

        public boolean logToDisk()
      • isToLogParallel

        public boolean isToLogParallel()
      • getGlobalCheckpointPeriod

        public int getGlobalCheckpointPeriod()
        Indicates the checkpoint period used when fetching the state from the application
      • getUseControlFlow

        public int getUseControlFlow()
        Indicates if a simple control flow mechanism should be used to avoid an overflow of client requests
      • getMaxRequestSize

        public int getMaxRequestSize()
        Maximum size in bytes a request from a client may have. Larger messages are discarded. This setting is useful when malicious clients are present.
      • isBFT

        public boolean isBFT()
      • getNumRepliers

        public int getNumRepliers()
      • getNumNettyWorkers

        public int getNumNettyWorkers()
      • getSameBatchSize

        public boolean getSameBatchSize()
      • getFairBatch

        public boolean getFairBatch()
      • getBindAddress

        public java.lang.String getBindAddress()
      • getClientInvokeOrderedTimeout

        public int getClientInvokeOrderedTimeout()
      • getSSLTLSProtocolVersion

        public java.lang.String getSSLTLSProtocolVersion()
        Tulio Ribeiro ## SSL/TLS getters.
      • getSSLTLSKeyStore

        public java.lang.String getSSLTLSKeyStore()
      • getEnabledCiphers

        public java.lang.String[] getEnabledCiphers()