Class XZCompressionFilter

java.lang.Object
kieker.monitoring.writer.compression.XZCompressionFilter
All Implemented Interfaces:
ICompressionFilter

public class XZCompressionFilter
extends java.lang.Object
implements ICompressionFilter
XZ compression filter for the writer pool.
Since:
1.14
Author:
Reiner Jung, Henning Schnoor
  • Constructor Summary

    Constructors 
    Constructor Description
    XZCompressionFilter​(Configuration configuration)
    Initialize XZCompression with parameter to adhere Kieker configuration system.
  • Method Summary

    Modifier and Type Method Description
    java.io.OutputStream chainOutputStream​(java.io.OutputStream outputStream, java.nio.file.Path fileName)
    Create an output stream with compression support and use the normal output stream as source.
    java.lang.String getExtension()
    Return the extension with leading dot.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • XZCompressionFilter

      public XZCompressionFilter​(Configuration configuration)
      Initialize XZCompression with parameter to adhere Kieker configuration system.
      Parameters:
      configuration - Kieker configuration object
  • Method Details

    • chainOutputStream

      public java.io.OutputStream chainOutputStream​(java.io.OutputStream outputStream, java.nio.file.Path fileName) throws java.io.IOException
      Description copied from interface: ICompressionFilter
      Create an output stream with compression support and use the normal output stream as source.
      Specified by:
      chainOutputStream in interface ICompressionFilter
      Parameters:
      outputStream - uncompressed output stream
      fileName - file name used in compression system, which also use an internal directory structure.
      Returns:
      the compression output stream
      Throws:
      java.io.IOException - on file or stream errors
    • getExtension

      public java.lang.String getExtension()
      Description copied from interface: ICompressionFilter
      Return the extension with leading dot.
      Specified by:
      getExtension in interface ICompressionFilter
      Returns:
      return the extension