Crossfire JXClient, Trunk
|
Public Member Functions | |
boolean | equals (Object o) |
long | getLogFileMaxRecords () |
String | getLogFileName () |
int | getMemoryMaxRecords () |
int | hashCode () |
ResultLogConfig () | |
void | setLogFileMaxRecords (long logFileMaxRecords) |
void | setLogFileName (String logFileName) |
void | setMemoryMaxRecords (int memoryMaxRecords) |
Private Member Functions | |
Object[] | toArray () |
Private Attributes | |
long | logFileMaxRecords |
String | logFileName |
int | memoryMaxRecords |
The ResultLogConfig
Java Bean is used to model the initial configuration of the {}. This class is annotated for XML binding.
Definition at line 60 of file ResultLogConfig.java.
com.sun.jmx.examples.scandir.config.ResultLogConfig.ResultLogConfig | ( | ) |
Creates a new instance of ResultLogConfig
Definition at line 90 of file ResultLogConfig.java.
boolean com.sun.jmx.examples.scandir.config.ResultLogConfig.equals | ( | Object | o | ) |
Definition at line 167 of file ResultLogConfig.java.
References com.sun.jmx.examples.scandir.config.ResultLogConfig.toArray().
long com.sun.jmx.examples.scandir.config.ResultLogConfig.getLogFileMaxRecords | ( | ) |
Gets the maximum number of record that will be logged in the log file before switching to a new log file. A 0 or negative value means no limit.
Definition at line 119 of file ResultLogConfig.java.
Referenced by com.sun.jmx.examples.scandir.ResultLogManager.setConfig().
String com.sun.jmx.examples.scandir.config.ResultLogConfig.getLogFileName | ( | ) |
Gets the path to the result log file.
means that logging to file is disabled.
Definition at line 99 of file ResultLogConfig.java.
Referenced by com.sun.jmx.examples.scandir.ResultLogManager.setConfig().
int com.sun.jmx.examples.scandir.config.ResultLogConfig.getMemoryMaxRecords | ( | ) |
Gets the maximum number of records that can be contained in the memory log. When this number is reached, the memory log drops its eldest record to make way for the new one.
Definition at line 143 of file ResultLogConfig.java.
Referenced by com.sun.jmx.examples.scandir.ResultLogManager.setConfig().
int com.sun.jmx.examples.scandir.config.ResultLogConfig.hashCode | ( | ) |
Definition at line 175 of file ResultLogConfig.java.
void com.sun.jmx.examples.scandir.config.ResultLogConfig.setLogFileMaxRecords | ( | long | logFileMaxRecords | ) |
Sets the maximum number of record that will be logged in the log file before switching to a new log file. A 0 or negative value means no limit.
logFileMaxRecords | the maximum number of record that will be logged in the log file. |
Definition at line 130 of file ResultLogConfig.java.
Referenced by com.sun.jmx.examples.scandir.ResultLogManager.newLogFile(), com.sun.jmx.examples.scandir.ResultLogManager.ResultLogManager(), and com.sun.jmx.examples.scandir.ResultLogManager.setLogFileCapacity().
void com.sun.jmx.examples.scandir.config.ResultLogConfig.setLogFileName | ( | String | logFileName | ) |
Sets the path to the result log file.
means that logging to file is disabled.
logFileName | the path to the result log file. |
Definition at line 108 of file ResultLogConfig.java.
Referenced by com.sun.jmx.examples.scandir.ResultLogManager.newLogFile(), and com.sun.jmx.examples.scandir.ResultLogManager.ResultLogManager().
void com.sun.jmx.examples.scandir.config.ResultLogConfig.setMemoryMaxRecords | ( | int | memoryMaxRecords | ) |
Sets the maximum number of records that can be contained in the memory log. When this number is reached, the memory log drops its eldest record to make way for the new one.
memoryMaxRecords | the maximum number of records that can be contained in the memory log. |
Definition at line 155 of file ResultLogConfig.java.
Referenced by com.sun.jmx.examples.scandir.ResultLogManager.ResultLogManager(), com.sun.jmx.examples.scandir.config.ScanManagerConfig.ScanManagerConfig(), and com.sun.jmx.examples.scandir.ResultLogManager.setMemoryLogCapacity().
|
private |
Definition at line 159 of file ResultLogConfig.java.
Referenced by com.sun.jmx.examples.scandir.config.ResultLogConfig.equals().
|
private |
Maximum number of record that will be logged in the log file before switching to a new log file.
Definition at line 78 of file ResultLogConfig.java.
|
private |
The path to the result log file.
means that logging to file is disabled.
Definition at line 72 of file ResultLogConfig.java.
|
private |
The maximum number of records that can be contained in the memory log. When this number is reached, the memory log drops its eldest record to make way for the new one.
Definition at line 85 of file ResultLogConfig.java.