Class RotatingLogFilePoolHandler
java.lang.Object
kieker.monitoring.writer.filesystem.RotatingLogFilePoolHandler
- All Implemented Interfaces:
ILogFilePoolHandler
public class RotatingLogFilePoolHandler extends java.lang.Object implements ILogFilePoolHandler
Rotating log file pool handler, there is a maximum limit on files.
- Since:
- 1.14
- Author:
- Reiner Jung
-
Constructor Summary
Constructors Constructor Description RotatingLogFilePoolHandler(java.nio.file.Path location, java.lang.String extension, java.lang.Integer maxAmountOfFiles)
-
Method Summary
Modifier and Type Method Description java.nio.file.Path
requestFile()
Create a new path for a log file.
-
Constructor Details
-
RotatingLogFilePoolHandler
public RotatingLogFilePoolHandler(java.nio.file.Path location, java.lang.String extension, java.lang.Integer maxAmountOfFiles)
-
-
Method Details
-
requestFile
public java.nio.file.Path requestFile()Description copied from interface:ILogFilePoolHandler
Create a new path for a log file.- Specified by:
requestFile
in interfaceILogFilePoolHandler
- Returns:
- return a proper stream
-