public abstract class CollectionPolicy extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CollectionPolicy.BySpaceAndTime
A collection policy that delays complete collections until the heap has at least `-Xms` space
in it, and then tries to balance time in incremental and complete collections.
|
static class |
CollectionPolicy.NeverCollect |
static class |
CollectionPolicy.OnlyCompletely |
static class |
CollectionPolicy.OnlyIncrementally |
static class |
CollectionPolicy.Options |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
collectCompletely()
Return
true if the current collection should entail a complete collection. |
abstract boolean |
collectIncrementally()
Return
true if the current collection should entail an incremental collection. |
abstract String |
getName() |
abstract void |
nameToLog(Log log) |
public abstract boolean collectIncrementally()
true
if the current collection should entail an incremental collection.public abstract boolean collectCompletely()
true
if the current collection should entail a complete collection.public abstract void nameToLog(Log log)
public abstract String getName()