类 DiagnosticsModule<C extends DiagnosticsModule<C,A>,A extends Record>

java.lang.Object
pkg.exoad.poprock.core.debug.DiagnosticsModule<C,A>
所有已实现的接口:
IDisposable
直接已知子类:
MemoryDiagnosticsModule

public abstract class DiagnosticsModule<C extends DiagnosticsModule<C,A>,A extends Record> extends Object implements IDisposable
  • 字段详细资料

  • 构造器详细资料

    • DiagnosticsModule

      protected DiagnosticsModule()
  • 方法详细资料

    • isStarted

      public boolean isStarted()
    • setStarted

      protected void setStarted(boolean newState)
    • computeElapsed

      public long computeElapsed()
    • getStartTimeStamp

      public long getStartTimeStamp()
    • setStartTimeStamp

      protected void setStartTimeStamp(long timeStamp)
    • setStartTimeStampNow

      protected void setStartTimeStampNow()
    • start

      public abstract void start()
    • createSnapshot

      public abstract void createSnapshot(Consumer<A> cb)
    • withPump

      protected abstract C withPump(Consumer<A> r)
    • pause

      public abstract void pause()
    • end

      public abstract void end()
    • dispose

      public abstract void dispose()
      指定者:
      dispose 在接口中 IDisposable
    • toString

      public abstract String toString()
      覆盖:
      toString 在类中 Object