Class DumperPluginImpl

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

public class DumperPluginImpl extends Object implements org.qubership.profiler.agent.DumperPlugin_10
  • Constructor Details

    • DumperPluginImpl

      public DumperPluginImpl()
  • Method Details

    • newDumper

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public boolean gracefulShutdown()
      Specified by:
      gracefulShutdown in interface org.qubership.profiler.agent.DumperPlugin_07
    • gracefulShutdown

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

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

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

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

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

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

      public boolean isInitialized()
      Specified by:
      isInitialized in interface org.qubership.profiler.agent.DumperPlugin_10