Class DumperPluginImpl

java.lang.Object
com.netcracker.profiler.agent.plugins.DumperPluginImpl
All Implemented Interfaces:
com.netcracker.profiler.agent.DumperPlugin, com.netcracker.profiler.agent.DumperPlugin_01, com.netcracker.profiler.agent.DumperPlugin_02, com.netcracker.profiler.agent.DumperPlugin_03, com.netcracker.profiler.agent.DumperPlugin_04, com.netcracker.profiler.agent.DumperPlugin_05, com.netcracker.profiler.agent.DumperPlugin_06, com.netcracker.profiler.agent.DumperPlugin_07, com.netcracker.profiler.agent.DumperPlugin_08, com.netcracker.profiler.agent.DumperPlugin_09, com.netcracker.profiler.agent.DumperPlugin_10

public class DumperPluginImpl extends Object implements com.netcracker.profiler.agent.DumperPlugin_10
  • Constructor Details

    • DumperPluginImpl

      public DumperPluginImpl()
  • Method Details

    • newDumper

      public void newDumper(BlockingQueue<com.netcracker.profiler.agent.LocalBuffer> dirtyBuffers, BlockingQueue<com.netcracker.profiler.agent.LocalBuffer> emptyBuffers, ArrayList<com.netcracker.profiler.agent.LocalBuffer> buffers)
      Specified by:
      newDumper in interface com.netcracker.profiler.agent.DumperPlugin
    • newDumper

      public void newDumper(BlockingQueue<com.netcracker.profiler.agent.LocalBuffer> dirtyBuffers, BlockingQueue<com.netcracker.profiler.agent.LocalBuffer> emptyBuffers, ConcurrentMap<Thread,com.netcracker.profiler.agent.LocalState> activeThreads)
      Specified by:
      newDumper in interface com.netcracker.profiler.agent.DumperPlugin_02
    • reconfigure

      public void reconfigure()
      Specified by:
      reconfigure in interface com.netcracker.profiler.agent.DumperPlugin_01
    • getCurrentRoot

      public File getCurrentRoot()
      Specified by:
      getCurrentRoot in interface com.netcracker.profiler.agent.DumperPlugin_01
    • getTags

      public List<String> getTags()
      Specified by:
      getTags in interface com.netcracker.profiler.agent.DumperPlugin_01
    • start

      public boolean start()
      Specified by:
      start in interface com.netcracker.profiler.agent.DumperPlugin_02
    • stop

      public boolean stop(boolean force)
      Specified by:
      stop in interface com.netcracker.profiler.agent.DumperPlugin_02
    • isStarted

      public boolean isStarted()
      Specified by:
      isStarted in interface com.netcracker.profiler.agent.DumperPlugin_02
    • getNumberOfRestarts

      public int getNumberOfRestarts()
      Specified by:
      getNumberOfRestarts in interface com.netcracker.profiler.agent.DumperPlugin_02
    • getWrittenRecords

      public long getWrittenRecords()
      Specified by:
      getWrittenRecords in interface com.netcracker.profiler.agent.DumperPlugin_02
    • getWrittenBytes

      public long getWrittenBytes()
      Specified by:
      getWrittenBytes in interface com.netcracker.profiler.agent.DumperPlugin_02
    • getUncompressedSize

      public long getUncompressedSize()
      Specified by:
      getUncompressedSize in interface com.netcracker.profiler.agent.DumperPlugin_06
    • getWriteTime

      public long getWriteTime()
      Specified by:
      getWriteTime in interface com.netcracker.profiler.agent.DumperPlugin_02
    • getDumperStartTime

      public long getDumperStartTime()
      Specified by:
      getDumperStartTime in interface com.netcracker.profiler.agent.DumperPlugin_02
    • getInflightCalls

      public Object[] getInflightCalls()
      Specified by:
      getInflightCalls in interface com.netcracker.profiler.agent.DumperPlugin_03
    • getBytesAllocated

      public long getBytesAllocated()
      Specified by:
      getBytesAllocated in interface com.netcracker.profiler.agent.DumperPlugin_04
    • getCPUTime

      public long getCPUTime()
      Specified by:
      getCPUTime in interface com.netcracker.profiler.agent.DumperPlugin_04
    • getFileRead

      public long getFileRead()
      Specified by:
      getFileRead in interface com.netcracker.profiler.agent.DumperPlugin_05
    • getFileWritten

      public long getFileWritten()
      Specified by:
      getFileWritten in interface com.netcracker.profiler.agent.DumperPlugin_05
    • gracefulShutdown

      public boolean gracefulShutdown()
      Specified by:
      gracefulShutdown in interface com.netcracker.profiler.agent.DumperPlugin_07
    • gracefulShutdown

      public boolean gracefulShutdown(long timeout)
      Specified by:
      gracefulShutdown in interface com.netcracker.profiler.agent.DumperPlugin_07
    • getArchiveSize

      public long getArchiveSize()
      Specified by:
      getArchiveSize in interface com.netcracker.profiler.agent.DumperPlugin_08
    • forceRescanDumpDir

      public void forceRescanDumpDir()
      Specified by:
      forceRescanDumpDir in interface com.netcracker.profiler.agent.DumperPlugin_08
    • getMetrics

      public String getMetrics()
      Specified by:
      getMetrics in interface com.netcracker.profiler.agent.DumperPlugin_09
    • injectCollectorClientFactory

      public void injectCollectorClientFactory(com.netcracker.profiler.agent.DumperCollectorClientFactory toInject)
      Specified by:
      injectCollectorClientFactory in interface com.netcracker.profiler.agent.DumperPlugin_10
    • getCollectorClientFactory

      public com.netcracker.profiler.agent.DumperCollectorClientFactory getCollectorClientFactory()
      Specified by:
      getCollectorClientFactory in interface com.netcracker.profiler.agent.DumperPlugin_10
    • isInitialized

      public boolean isInitialized()
      Specified by:
      isInitialized in interface com.netcracker.profiler.agent.DumperPlugin_10