public interface RemoteConfigFileAppender extends RemoteConfigAppender
RemoteConfigFileAppender takes charge of
managing 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 |
getBufferSize()
Gets the buffer size of the file appender.
|
java.lang.String |
getFileName()
Gets the file name of the file appender.
|
java.lang.String |
getLayout()
Gets the layout of the file appender.
|
java.lang.String |
getPatternConversion()
Gets the pattern conversion of the file appender.
|
boolean |
isAppendable()
Judges whether the file appender is appendable or not.
|
boolean |
isBufferedIO()
Judges whether the file appender is io buffered or not.
|
void |
setAppendable(boolean append)
Sets the file content's append property.
|
void |
setBufferedIO(boolean buffered)
Sets the buffered io property of the file appender.
|
void |
setBufferSize(int bufSize)
Sets the buffer size of the file appender.
|
void |
setFileName(java.lang.String filename)
Sets the file name of the appender.
|
void |
setLayout(java.lang.String layout)
Sets the layout of the file appender.
|
void |
setPatternConversion(java.lang.String pattern)
Sets the appender's pattern conversion.
|
getName, getThreshold, isSelected, setSelected, setThresholdjava.lang.String getLayout()
throws java.rmi.RemoteException
"Pattern"
"HTML"
"XML"
"TTCC"
"Simple"
java.rmi.RemoteException - will be thrown if error occurs.void setLayout(java.lang.String layout)
throws java.rmi.RemoteException
layout - the new layout value.java.rmi.RemoteException - will be thrown if error occurs.java.lang.String getPatternConversion()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.void setPatternConversion(java.lang.String pattern)
throws java.rmi.RemoteException
setLayout should be invoked first before attempting to invoke this method.pattern - the pattern conversion value.java.rmi.RemoteException - will be thrown if error occurs.java.lang.String getFileName()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.void setFileName(java.lang.String filename)
throws java.rmi.RemoteException
filename - the file name.java.rmi.RemoteException - will be thrown if error occurs.boolean isAppendable()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.void setAppendable(boolean append)
throws java.rmi.RemoteException
append - the append boolean value.java.rmi.RemoteException - will be thrown if error occurs.boolean isBufferedIO()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.void setBufferedIO(boolean buffered)
throws java.rmi.RemoteException
buffered - the buffered IO boolean value.java.rmi.RemoteException - will be thrown if error occurs.int getBufferSize()
throws java.rmi.RemoteException
java.rmi.RemoteException - will be thrown if error occurs.void setBufferSize(int bufSize)
throws java.rmi.RemoteException
bufSize - the buffer size.java.rmi.RemoteException - will be thrown if error occurs.