Class BZip2CompressionFilter

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

public class BZip2CompressionFilter
extends java.lang.Object
implements ICompressionFilter
Bzip2 compression filter for the writer pool.
Since:
1.14
Author:
Reiner Jung
  • Constructor Summary

    Constructors 
    Constructor Description
    BZip2CompressionFilter​(Configuration configuration)
    Initialize GZipCompression 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

    • BZip2CompressionFilter

      public BZip2CompressionFilter​(Configuration configuration)
      Initialize GZipCompression 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