类 MemoryDiagnosticsModule
java.lang.Object
pkg.exoad.poprock.core.debug.DiagnosticsModule<MemoryDiagnosticsModule,MemoryDiagnosticsModule.MemoryDiagnosticsSnapshot>
pkg.exoad.poprock.core.debug.MemoryDiagnosticsModule
public final class MemoryDiagnosticsModule
extends DiagnosticsModule<MemoryDiagnosticsModule,MemoryDiagnosticsModule.MemoryDiagnosticsSnapshot>
implements DiagnosticsModuleMixin, DiagnosticsNamedMixin
-
嵌套类概要
-
字段概要
修饰符和类型字段说明private final Runnable
private final long
private final AtomicLong
private final AtomicLong
private final AtomicLong
private final AtomicLong
private final AtomicLong
private final AtomicLong
private final long
private final Nullable<Consumer<MemoryDiagnosticsModule.MemoryDiagnosticsSnapshot>>
private DiagnosticsModuleState
private static final long
private final ScheduledExecutorService
-
构造器概要
-
方法概要
修饰符和类型方法说明void
void
dispose()
void
end()
static MemoryDiagnosticsModule
make()
static MemoryDiagnosticsModule
make
(long period) static MemoryDiagnosticsModule
make
(long period, long delay) void
pause()
void
start()
toString()
从类继承的方法 pkg.exoad.poprock.core.debug.DiagnosticsModule
computeElapsed, getStartTimeStamp, isStarted, setStarted, setStartTimeStamp, setStartTimeStampNow
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
从接口继承的方法 pkg.exoad.poprock.core.debug.DiagnosticsModuleMixin
getDiagnosticsMode, init, runWith, setDiagnosticsMode
从接口继承的方法 pkg.exoad.poprock.core.debug.DiagnosticsNamedMixin
getDiagnosticsName
-
字段详细资料
-
UNDEFINED_L
private static final long UNDEFINED_L- 另请参阅:
-
iFree
-
iTotal
-
fFree
-
fTotal
-
dFree
-
dTotal
-
period
private final long period -
delay
private final long delay -
state
-
action
-
worker
-
pump
-
-
构造器详细资料
-
MemoryDiagnosticsModule
private MemoryDiagnosticsModule() -
MemoryDiagnosticsModule
private MemoryDiagnosticsModule(long period, long delay)
-
-
方法详细资料
-
make
-
make
-
make
-
start
public void start() -
createSnapshot
-
withPump
public MemoryDiagnosticsModule withPump(Consumer<MemoryDiagnosticsModule.MemoryDiagnosticsSnapshot> r) -
pause
public void pause() -
end
public void end() -
dispose
public void dispose() -
toString
-