public interface GC
Modifier and Type | Method and Description |
---|---|
void |
collect(GCCause cause)
Cause a collection of the Heap's choosing.
|
void |
collectCompletely(GCCause cause)
Cause a full collection.
|
List<GarbageCollectorMXBean> |
getGarbageCollectorMXBeanList()
Get the list of GarbageCollectorMXBeans for this collector.
|
void |
registerCollectionWatcher(CollectionWatcher watcher) |
void |
unregisterCollectionWatcher(CollectionWatcher watcher) |
void collect(GCCause cause)
void collectCompletely(GCCause cause)
void registerCollectionWatcher(CollectionWatcher watcher)
void unregisterCollectionWatcher(CollectionWatcher watcher)
List<GarbageCollectorMXBean> getGarbageCollectorMXBeanList()