jrockit.management.util
Class MarkAndSweepStrategyCompositeData

java.lang.Object
  extended by jrockit.management.util.LazyCompositeData
      extended by jrockit.management.util.MarkAndSweepStrategyCompositeData
All Implemented Interfaces:
java.io.Serializable, javax.management.openmbean.CompositeData

public class MarkAndSweepStrategyCompositeData
extends LazyCompositeData

Ensures that we don't get any performance penalty when used locally.

Author:
Marcus Hirt
See Also:
Serialized Form

Constructor Summary
MarkAndSweepStrategyCompositeData(MarkAndSweepStrategy strategy)
          Constructs a MarkAndSweepStrategyCompositeData from a MarkAndSweepStrategy
 
Method Summary
protected  javax.management.openmbean.CompositeData getCompositeData()
          Gets the composite data
static java.lang.String getDescription(javax.management.openmbean.CompositeData cd)
          Gets the description from the composite data
 MarkAndSweepStrategy getGarbageCollectionStrategy()
          Returns the MarkAndSweepStrategy
static java.lang.String getName(javax.management.openmbean.CompositeData cd)
          Gets the name from the composite data
static boolean isConcurrentMark(javax.management.openmbean.CompositeData cd)
          Returns true if concurrent mark, false otherwise
static boolean isConcurrentSweep(javax.management.openmbean.CompositeData cd)
          Returns true if concurrent sweep, false otherwise
static boolean isGenerational(javax.management.openmbean.CompositeData cd)
          Returns true if generational, false otherwise
static javax.management.openmbean.CompositeData toCompositeData(MarkAndSweepStrategy strategy)
          Gets composite data from a MarkAndSweepStrategy
 
Methods inherited from class jrockit.management.util.LazyCompositeData
containsKey, containsValue, equals, get, getAll, getCompositeType, hashCode, isTypeMatched, isTypeMatched, toString, values, writeReplace
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MarkAndSweepStrategyCompositeData

public MarkAndSweepStrategyCompositeData(MarkAndSweepStrategy strategy)
Constructs a MarkAndSweepStrategyCompositeData from a MarkAndSweepStrategy

Parameters:
strategy -
Method Detail

getCompositeData

protected javax.management.openmbean.CompositeData getCompositeData()
Gets the composite data

Specified by:
getCompositeData in class LazyCompositeData
Returns:
the composite data
See Also:
LazyCompositeData.getCompositeData()

toCompositeData

public static javax.management.openmbean.CompositeData toCompositeData(MarkAndSweepStrategy strategy)
Gets composite data from a MarkAndSweepStrategy

Parameters:
strategy -
Returns:
the composite data

isGenerational

public static boolean isGenerational(javax.management.openmbean.CompositeData cd)
Returns true if generational, false otherwise

Parameters:
cd -
Returns:
true if generational, false otherwise

isConcurrentMark

public static boolean isConcurrentMark(javax.management.openmbean.CompositeData cd)
Returns true if concurrent mark, false otherwise

Parameters:
cd -
Returns:
true if concurrent mark, false otherwise

isConcurrentSweep

public static boolean isConcurrentSweep(javax.management.openmbean.CompositeData cd)
Returns true if concurrent sweep, false otherwise

Parameters:
cd -
Returns:
true if concurrent sweep, false otherwise

getName

public static java.lang.String getName(javax.management.openmbean.CompositeData cd)
Gets the name from the composite data

Parameters:
cd -
Returns:
the name

getDescription

public static java.lang.String getDescription(javax.management.openmbean.CompositeData cd)
Gets the description from the composite data

Parameters:
cd -
Returns:
the description

getGarbageCollectionStrategy

public MarkAndSweepStrategy getGarbageCollectionStrategy()
Returns the MarkAndSweepStrategy

Returns:
the MarkAndSweepStrategy


Copyright © 2004-2005 BEA Systems Inc.