getBufferClassName
public String getBufferClassName()
- Returns the bufferClassName.
getBufferSize
public int getBufferSize()
Returns the size of buffers specified as a number of 1K blocks.
As an example, if buffers are 4096 bytes large, getBufferSize()
returns 4.
- Returns the bufferSize as a number of 1K blocks.
getFlushSleepTime
public int getFlushSleepTime()
- Returns the flushSleepTime.
getLogFileDir
public String getLogFileDir()
getLogFileExt
public String getLogFileExt()
getLogFileMode
public String getLogFileMode()
getLogFileName
public String getLogFileName()
getMaxBlocksPerFile
public int getMaxBlocksPerFile()
- Returns the maxBlocksPerFile.
getMaxBuffers
public int getMaxBuffers()
getMaxLogFiles
public int getMaxLogFiles()
getMinBuffers
public int getMinBuffers()
getThreadsWaitingForceThreshold
public int getThreadsWaitingForceThreshold()
- Returns the threadsWaitingForceThreshold.
isChecksumEnabled
public boolean isChecksumEnabled()
- Returns the checksumEnabled option.
setBufferClassName
public void setBufferClassName(String bufferClassName)
bufferClassName
- The bufferClassName to set.
setBufferSize
public void setBufferSize(int bufferSize)
throws LogConfigurationException
bufferSize
- The size of a log buffer
specified as a number of 1024 byte blocks.
The value specified by bufferSize is
multiplied by 1024 to establish the actual
buffer size used by the logger.
setChecksumEnabled
public void setChecksumEnabled(boolean checksumOption)
checksumOption
- The checksumOption to set.
setFlushSleepTime
public void setFlushSleepTime(int flushSleepTime)
flushSleepTime
- The amount of time
(specified in milli-seconds) the FlushManager
should sleep.
setLogFileDir
public void setLogFileDir(String logFileDir)
logFileDir
- The logFileDir to set.
setLogFileExt
public void setLogFileExt(String logFileExt)
logFileExt
- The logFileExt to set.
setLogFileMode
public void setLogFileMode(String logFileMode)
throws LogConfigurationException
logFileMode
- The logFileMode to set.
setLogFileName
public void setLogFileName(String logFileName)
logFileName
- The logFileName to set.
setMaxBlocksPerFile
public void setMaxBlocksPerFile(int maxBlocksPerFile)
maxBlocksPerFile
- The maxBlocksPerFile to set.
setMaxBuffers
public void setMaxBuffers(int maxBuffers)
throws LogConfigurationException
maxBuffers
- The maxBuffers to set.
setMaxLogFiles
public void setMaxLogFiles(int maxLogFiles)
maxLogFiles
- The maxLogFiles to set.
setMinBuffers
public void setMinBuffers(int minBuffers)
throws LogConfigurationException
minBuffers
- The minBuffers to set.
setThreadsWaitingForceThreshold
public void setThreadsWaitingForceThreshold(int threadsWaitingForceThreshold)
threadsWaitingForceThreshold
- The threadsWaitingForceThreshold to set.
store
public void store(OutputStream out)
throws IOException
Stores configuration properties to OutputStream.
java.util.Properties.store(java.io.OutputStream, java.lang.String)