Class Dumper

java.lang.Object
com.netcracker.profiler.Dumper
All Implemented Interfaces:
com.netcracker.profiler.agent.DumperConstants, IDumper, Closeable, AutoCloseable

public class Dumper extends Object implements IDumper, com.netcracker.profiler.agent.DumperConstants
  • Field Details

  • Constructor Details

  • Method Details

    • configure

      public void configure(Map<String,com.netcracker.profiler.agent.ParameterInfo> paramInfo, long logMaxAge, long logMaxSize, List<com.netcracker.profiler.agent.MetricsConfiguration> metrics, List<com.netcracker.profiler.agent.MetricsDescription> systemMetrics)
    • isInitialized

      public boolean isInitialized()
    • close

      public void close() throws IOException
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Throws:
      IOException
    • initialize

      public void initialize() throws IOException
      Specified by:
      initialize in interface IDumper
      Throws:
      IOException
    • addEmptyBuffer

      public void addEmptyBuffer(com.netcracker.profiler.agent.LocalBuffer buffer)
    • dumpLoop

      public void dumpLoop() throws InterruptedException, IOException
      Specified by:
      dumpLoop in interface IDumper
      Throws:
      InterruptedException
      IOException
    • dumpDictionary

      public void dumpDictionary() throws IOException
      Throws:
      IOException
    • dumpSuspendLog

      public void dumpSuspendLog() throws IOException
      Throws:
      IOException
    • getCurrentRoot

      public File getCurrentRoot()
    • getRecordsWritten

      public long getRecordsWritten()
    • getUncompressedSize

      public long getUncompressedSize()
    • getCompressedSize

      public long getCompressedSize()
    • getDumpTime

      public long getDumpTime()
    • getDumperStartTime

      public long getDumperStartTime()
    • getArchiveSize

      public long getArchiveSize()
    • forceRescanDumpDir

      public void forceRescanDumpDir()
    • getDumperCallsExporter

      public DumperCallsExporter getDumperCallsExporter()