Crossfire JXClient, Trunk
Public Member Functions | Private Member Functions | Private Attributes | List of all members
com.sun.jmx.examples.scandir.config.ResultLogConfig Class Reference
Collaboration diagram for com.sun.jmx.examples.scandir.config.ResultLogConfig:
Collaboration graph

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
 

Detailed Description

The ResultLogConfig Java Bean is used to model the initial configuration of the {}. This class is annotated for XML binding.

Author
Sun Microsystems, 2006 - All rights reserved.

Definition at line 60 of file ResultLogConfig.java.

Constructor & Destructor Documentation

◆ ResultLogConfig()

com.sun.jmx.examples.scandir.config.ResultLogConfig.ResultLogConfig ( )

Creates a new instance of ResultLogConfig

Definition at line 90 of file ResultLogConfig.java.

Member Function Documentation

◆ equals()

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().

Here is the call graph for this function:

◆ getLogFileMaxRecords()

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.

Returns
the maximum number of record that will be logged in the log file.

Definition at line 119 of file ResultLogConfig.java.

Referenced by com.sun.jmx.examples.scandir.ResultLogManager.setConfig().

Here is the caller graph for this function:

◆ getLogFileName()

String com.sun.jmx.examples.scandir.config.ResultLogConfig.getLogFileName ( )

Gets the path to the result log file.

null

means that logging to file is disabled.

Returns
the path to the result log file.

Definition at line 99 of file ResultLogConfig.java.

Referenced by com.sun.jmx.examples.scandir.ResultLogManager.setConfig().

Here is the caller graph for this function:

◆ getMemoryMaxRecords()

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.

Returns
the maximum number of records that can be contained in the memory log.

Definition at line 143 of file ResultLogConfig.java.

Referenced by com.sun.jmx.examples.scandir.ResultLogManager.setConfig().

Here is the caller graph for this function:

◆ hashCode()

int com.sun.jmx.examples.scandir.config.ResultLogConfig.hashCode ( )

Definition at line 175 of file ResultLogConfig.java.

◆ setLogFileMaxRecords()

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.

Parameters
logFileMaxRecordsthe 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().

Here is the caller graph for this function:

◆ setLogFileName()

void com.sun.jmx.examples.scandir.config.ResultLogConfig.setLogFileName ( String  logFileName)

Sets the path to the result log file.

null

means that logging to file is disabled.

Parameters
logFileNamethe 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().

Here is the caller graph for this function:

◆ setMemoryMaxRecords()

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.

Parameters
memoryMaxRecordsthe 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().

Here is the caller graph for this function:

◆ toArray()

Object [] com.sun.jmx.examples.scandir.config.ResultLogConfig.toArray ( )
private

Definition at line 159 of file ResultLogConfig.java.

Referenced by com.sun.jmx.examples.scandir.config.ResultLogConfig.equals().

Here is the caller graph for this function:

Member Data Documentation

◆ logFileMaxRecords

long com.sun.jmx.examples.scandir.config.ResultLogConfig.logFileMaxRecords
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.

◆ logFileName

String com.sun.jmx.examples.scandir.config.ResultLogConfig.logFileName
private

The path to the result log file.

null

means that logging to file is disabled.

Definition at line 72 of file ResultLogConfig.java.

◆ memoryMaxRecords

int com.sun.jmx.examples.scandir.config.ResultLogConfig.memoryMaxRecords
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.


The documentation for this class was generated from the following file: