|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjrockit.management.MarkAndSweepStrategy
public class MarkAndSweepStrategy
Simple object encapsulating the information of a MarkAndSweep GCStrategy.
Constructor Summary | |
---|---|
MarkAndSweepStrategy(boolean isGenerational,
boolean isConcurrentMark,
boolean isConcurrentSweep)
Constructor. |
|
MarkAndSweepStrategy(javax.management.openmbean.CompositeData cd)
Constructor. |
Method Summary | |
---|---|
static MarkAndSweepStrategy |
from(javax.management.openmbean.CompositeData cd)
Returns a MarkAndSweepStrategy from a composite data |
java.lang.String |
getDescription()
Returns a description of this strategy. |
java.lang.String |
getName()
Returns the name of this strategy. |
boolean |
isConcurrentMark()
Returns true if this strategy is concurrent mark, false otherwise |
boolean |
isConcurrentSweep()
Returns true if this strategy is concurrent sweep, false otherwise |
boolean |
isGenerational()
Returns true if this strategy is generational, false otherwise. |
java.lang.String |
toString()
Returns a string representation of this strategy. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MarkAndSweepStrategy(boolean isGenerational, boolean isConcurrentMark, boolean isConcurrentSweep)
isGenerational
- isConcurrentMark
- isConcurrentSweep
- public MarkAndSweepStrategy(javax.management.openmbean.CompositeData cd)
cd
- the composite data to use to construct this strategy.Method Detail |
---|
public static MarkAndSweepStrategy from(javax.management.openmbean.CompositeData cd)
cd
- the composite data to use to construct this strategy.
public boolean isConcurrentMark()
isConcurrentMark()
public boolean isConcurrentSweep()
isConcurrentSweep()
public boolean isGenerational()
isGenerational()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public java.lang.String getName()
getName
in interface GarbageCollectionStrategy
GarbageCollectionStrategy.getName()
public java.lang.String getDescription()
getDescription
in interface GarbageCollectionStrategy
GarbageCollectionStrategy.getDescription()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |