GCMonitor.Empty
Constructor and Description |
---|
DelegatingGCMonitor() |
Modifier and Type | Method and Description |
---|---|
void |
cleaned(long reclaimedSize,
long currentSize)
The cleanup phase of the garbage collection process terminated successfully.
|
void |
compacted()
The compaction phase of the garbage collection process terminated successfully.
|
void |
error(String message,
Exception exception)
An error caused the garbage collection process to terminate prematurely.
|
void |
info(String message,
Object... arguments)
Informal notification on the progress of garbage collection.
|
Registration |
registerGCMonitor(GCMonitor gcMonitor)
Register a
GCMonitor . |
void |
skipped(String reason,
Object... arguments)
A garbage collection cycle is skipped for a specific
reason . |
void |
warn(String message,
Object... arguments)
Warning about a condition that might have advert effects on the overall
garbage collection process but does not prevent the process from running.
|
public Registration registerGCMonitor(GCMonitor gcMonitor)
GCMonitor
.gcMonitor
- Registration
instance, which removes the registered
GCMonitor
instance when called.public void info(String message, Object... arguments)
GCMonitor
public void warn(String message, Object... arguments)
GCMonitor
public void error(String message, Exception exception)
GCMonitor
public void skipped(String reason, Object... arguments)
GCMonitor
reason
.public void compacted()
GCMonitor
public void cleaned(long reclaimedSize, long currentSize)
GCMonitor
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"