public interface RemoteConfigRollingFileAppender extends RemoteConfigFileAppender
RemoteConfigRollingFileAppender
takes charge of
managing rolling file appender specific properties.DST_CONSOLE, DST_DAILY_ROLLING_FILE, DST_FILE, DST_LF5, DST_NTLOG, DST_ROLLING_FILE, DST_SOCKET, DST_SYSLOG, DST_TELNET, LAYOUT_HTML, LAYOUT_PATTERN, LAYOUT_SIMPLE, LAYOUT_TTCC, LAYOUT_XML, LAYOUTS, THRESHOLD_ALL, THRESHOLD_DEBUG, THRESHOLD_ERROR, THRESHOLD_FATAL, THRESHOLD_INFO, THRESHOLD_OFF, THRESHOLD_WARN, THRESHOLDS
Modifier and Type | Method and Description |
---|---|
int |
getMaxBackupIndex()
Gets the rolling file appender's maximum backup index.
|
long |
getMaxFileSize()
Gets the maximum file rolling size (KB) of the rolling file appender.
|
void |
setMaxBackupIndex(int index)
Sets the rolling file appender's maximum backup index.
|
void |
setMaxFileSize(long size)
Sets the rolling appender's maximum file size.
|
getBufferSize, getFileName, getLayout, getPatternConversion, isAppendable, isBufferedIO, setAppendable, setBufferedIO, setBufferSize, setFileName, setLayout, setPatternConversion
getName, getThreshold, isSelected, setSelected, setThreshold
long getMaxFileSize() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.void setMaxFileSize(long size) throws java.rmi.RemoteException
size
- the maximum file rolling size (KB) of the rolling file appender.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.int getMaxBackupIndex() throws java.rmi.RemoteException
java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.void setMaxBackupIndex(int index) throws java.rmi.RemoteException
index
- the maximum backup index of the rolling file appender.java.rmi.RemoteException
- if communication-related error occurs during RMI call execution.