com.bea.jvm
Interface GarbageCollectionStrategy

All Superinterfaces:
Describable

public interface GarbageCollectionStrategy
extends Describable

A garbage collection strategy, defining how the GarbageCollector is run.

Author:
Marcus Hirt

Field Summary
static java.lang.String PROPERTY_GENERATIONAL
          Property key for whether this GC stratey uses nursery/nurseries or not.
static java.lang.String PROPERTY_MARK
          Property key for the mark phase of this GC strategy.
static java.lang.String PROPERTY_SWEEP
          Property key for the sweep phase of this GC strategy.
static java.lang.String VALUE_CONCURRENT
           
static java.lang.String VALUE_FALSE
           
static java.lang.String VALUE_PARALLEL
           
static java.lang.String VALUE_TRUE
           
 
Method Summary
 java.util.Properties getStrategyProperties()
          Returns the properties of this GarbageCollectionStrategy.
 boolean isConcurrent()
           
 boolean isConcurrentMark()
           
 boolean isConcurrentSweep()
           
 boolean isGenerational()
           
 boolean isIncremental()
           
 boolean isParallel()
           
 boolean isParallelMark()
           
 boolean isParallelSweep()
           
 
Methods inherited from interface com.bea.jvm.Describable
getDescription
 

Field Detail

PROPERTY_SWEEP

static final java.lang.String PROPERTY_SWEEP
Property key for the sweep phase of this GC strategy.

The value can either be VALUE_PARALLEL or VALUE_CONCURRENT

See Also:
Constant Field Values

PROPERTY_MARK

static final java.lang.String PROPERTY_MARK
Property key for the mark phase of this GC strategy.

The value can either be VALUE_PARALLEL or VALUE_CONCURRENT.

See Also:
Constant Field Values

PROPERTY_GENERATIONAL

static final java.lang.String PROPERTY_GENERATIONAL
Property key for whether this GC stratey uses nursery/nurseries or not.

The value can either be VALUE_TRUE or VALUE_FALSE.

See Also:
Constant Field Values

VALUE_PARALLEL

static final java.lang.String VALUE_PARALLEL
See Also:
Constant Field Values

VALUE_CONCURRENT

static final java.lang.String VALUE_CONCURRENT
See Also:
Constant Field Values

VALUE_TRUE

static final java.lang.String VALUE_TRUE
See Also:
Constant Field Values

VALUE_FALSE

static final java.lang.String VALUE_FALSE
See Also:
Constant Field Values
Method Detail

getStrategyProperties

java.util.Properties getStrategyProperties()
Returns the properties of this GarbageCollectionStrategy. The property collection returned should not be modified.

Returns:
a property collection defining the behaviour of this strategy.

isGenerational

boolean isGenerational()
Since:
2.0

isConcurrent

boolean isConcurrent()
Since:
2.0

isParallel

boolean isParallel()
Since:
2.0

isIncremental

boolean isIncremental()
Since:
2.0

isConcurrentMark

boolean isConcurrentMark()
Since:
2.0

isConcurrentSweep

boolean isConcurrentSweep()
Since:
2.0

isParallelMark

boolean isParallelMark()
Since:
2.0

isParallelSweep

boolean isParallelSweep()
Since:
2.0


Copyright © 2006 BEA Systems Inc.