public class TransactionManagerBuilder extends TransactionManager
className, classpath, classpathAPI, constructor, factoryName, id, jar, properties, provider, type
Constructor and Description |
---|
TransactionManagerBuilder() |
equals, getClassName, getClasspath, getClasspathAPI, getConstructor, getFactoryName, getId, getJar, getPropertiesProvider, getProvider, getTemplate, getType, hashCode, setClassName, setClasspath, setClasspathAPI, setConstructor, setFactoryName, setId, setJar, setPropertiesProvider, setProvider, setTemplate, setType
public TransactionManagerBuilder id(java.lang.String id)
public TransactionManagerBuilder withDefaultTransactionTimeout(Duration defaultTransactionTimeout)
public void setDefaultTransactionTimeout(Duration defaultTransactionTimeout)
public Duration getDefaultTransactionTimeout()
public TransactionManagerBuilder withDefaultTransactionTimeout(long time, java.util.concurrent.TimeUnit unit)
public void setDefaultTransactionTimeout(long time, java.util.concurrent.TimeUnit unit)
public TransactionManagerBuilder withTxRecovery(boolean txRecovery)
public void setTxRecovery(boolean txRecovery)
public boolean getTxRecovery()
public TransactionManagerBuilder withBufferSizeKb(int bufferSizeKb)
public void setBufferSizeKb(int bufferSizeKb)
public int getBufferSizeKb()
public TransactionManagerBuilder withChecksumEnabled(boolean checksumEnabled)
public void setChecksumEnabled(boolean checksumEnabled)
public boolean getChecksumEnabled()
public TransactionManagerBuilder withAdler32Checksum(boolean adler32Checksum)
public void setAdler32Checksum(boolean adler32Checksum)
public boolean getAdler32Checksum()
public TransactionManagerBuilder withFlushSleepTime(Duration flushSleepTime)
public void setFlushSleepTime(Duration flushSleepTime)
public Duration getFlushSleepTime()
public TransactionManagerBuilder withFlushSleepTime(long time, java.util.concurrent.TimeUnit unit)
public void setFlushSleepTime(long time, java.util.concurrent.TimeUnit unit)
public TransactionManagerBuilder withLogFileDir(java.lang.String logFileDir)
public void setLogFileDir(java.lang.String logFileDir)
public java.lang.String getLogFileDir()
public TransactionManagerBuilder withLogFileExt(java.lang.String logFileExt)
public void setLogFileExt(java.lang.String logFileExt)
public java.lang.String getLogFileExt()
public TransactionManagerBuilder withLogFileName(java.lang.String logFileName)
public void setLogFileName(java.lang.String logFileName)
public java.lang.String getLogFileName()
public TransactionManagerBuilder withMaxBlocksPerFile(int maxBlocksPerFile)
public void setMaxBlocksPerFile(int maxBlocksPerFile)
public int getMaxBlocksPerFile()
public TransactionManagerBuilder withMaxBuffers(int maxBuffers)
public void setMaxBuffers(int maxBuffers)
public int getMaxBuffers()
public TransactionManagerBuilder withMaxLogFiles(int maxLogFiles)
public void setMaxLogFiles(int maxLogFiles)
public int getMaxLogFiles()
public TransactionManagerBuilder withMinBuffers(int minBuffers)
public void setMinBuffers(int minBuffers)
public int getMinBuffers()
public TransactionManagerBuilder withThreadsWaitingForceThreshold(int threadsWaitingForceThreshold)
public void setThreadsWaitingForceThreshold(int threadsWaitingForceThreshold)
public int getThreadsWaitingForceThreshold()
public java.util.Properties getProperties()
AbstractService
set
method for the properties property.
For example, to add a new value, do as follows:
getProperties().setProperty(key, value);
getProperties
in interface Service
getProperties
in class AbstractService