155156157158159160161162
return maxBackupIndex; } public synchronized void setMaxBackupIndex(final int maxBackupIndex) { this.maxBackupIndex = maxBackupIndex; final SizeRotatingFileHandler handler = value; if (handler != null) handler.setMaxBackupIndex(maxBackupIndex); }
165166167168169170171172
return rotateSize; } public synchronized void setRotateSize(final long rotateSize) { this.rotateSize = rotateSize; final SizeRotatingFileHandler handler = value; if (handler != null) handler.setRotateSize(rotateSize); }
172173174175176177178179
} @Override public synchronized void setFile(final String path) throws FileNotFoundException { fileName.setValue(Values.immediateValue(path)); final SizeRotatingFileHandler handler = value; if (handler != null) handler.setFileName(path); }