41 package com.sun.jmx.examples.scandir.config;
43 import java.util.Arrays;
44 import javax.xml.bind.annotation.XmlElement;
45 import javax.xml.bind.annotation.XmlRootElement;
58 @XmlRootElement(
name=
"ResultLogConfig",
59 namespace=XmlConfigUtils.NAMESPACE)
99 public String getLogFileName() {
100 return this.logFileName;
109 this.logFileName = logFileName;
119 public
long getLogFileMaxRecords() {
120 return this.logFileMaxRecords;
131 this.logFileMaxRecords = logFileMaxRecords;
143 public
int getMemoryMaxRecords() {
144 return this.memoryMaxRecords;
156 this.memoryMaxRecords = memoryMaxRecords;
160 final Object[] thisconfig = {
161 memoryMaxRecords,logFileMaxRecords,logFileName
168 if (o ==
this)
return true;
171 return Arrays.deepEquals(toArray(),other.
toArray());
176 return Arrays.deepHashCode(toArray());