类 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
-
字段概要
-
构造器概要
-
方法概要
修饰符和类型方法说明long
abstract void
createSnapshot
(Consumer<A> cb) abstract void
dispose()
abstract void
end()
long
boolean
abstract void
pause()
protected void
setStarted
(boolean newState) protected void
setStartTimeStamp
(long timeStamp) protected void
abstract void
start()
abstract String
toString()
protected abstract C
-
字段详细资料
-
startTimeStamp
-
started
-
-
构造器详细资料
-
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
-
withPump
-
pause
public abstract void pause() -
end
public abstract void end() -
dispose
public abstract void dispose()- 指定者:
dispose
在接口中IDisposable
-
toString
-