private void findNextGeneration() {
super.close();
for ( int i = count - 1; i > 0; i-- ) {
if ( files[i].exists() ) {
files[i].delete();
}
files[i - 1].renameTo( files[i] );
}
try {
// $ANALYSIS-IGNORE
output = new MeasureOutputStream( new BufferedOutputStream( new FileOutputStream( files[0] ) ) );
} catch ( FileNotFoundException e1 ) {
// logging.1A=Error happened when open log file.
this.getErrorManager().error( "BatchedAsynchronousFileHandler Output stream open failure. ", //$NON-NLS-1$
e1, ErrorManager.OPEN_FAILURE );
}
setOutputStream( output );
}
BatchedAsynchronousFileHandler.java 文件源码
java
阅读 36
收藏 0
点赞 0
评论 0
项目:ibm-performance-monitor
作者:
评论列表
文章目录