Class TextMapFileHandler
java.lang.Object
kieker.monitoring.writer.filesystem.TextMapFileHandler
- All Implemented Interfaces:
IMapFileHandler
Handler for the map file used in Kieker. Note: This version does not support
compression for the map file right now.
- Since:
- 1.14
- Author:
- Reiner Jung
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe name of the configuration key determining the buffer size of the output file stream.static final StringThe name of the configuration key to select a compression for the record log files.static final StringThe name of the configuration determining whether to flush upon each incoming registry entry.static final String -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
PREFIX
-
CONFIG_COMPRESSION_FILTER
The name of the configuration key to select a compression for the record log files. -
CONFIG_FLUSH_MAPFILE
The name of the configuration determining whether to flush upon each incoming registry entry. -
CONFIG_BUFFERSIZE
The name of the configuration key determining the buffer size of the output file stream.
-
-
Constructor Details
-
TextMapFileHandler
-
-
Method Details
-
create
Description copied from interface:IMapFileHandlerCreate a map file with the given name and location adhering to the given charset.- Specified by:
createin interfaceIMapFileHandler- Parameters:
location- complete path for the map file including its namecharset- character set to be used for the file
-
close
public void close()Description copied from interface:IMapFileHandlerClose the mapping file.- Specified by:
closein interfaceIMapFileHandler
-
add
Description copied from interface:IMapFileHandlerAdd a key value pair to the file.- Specified by:
addin interfaceIMapFileHandler- Parameters:
id- class ideventClassName- name of the event class
-