GCPercentageCondition

This type is a class for model objects.

The detection policies identify and correct existing health conditions. The garbage collection condition policy tracks the time spent in garbage collection for a member. When the time spent in garbage collection over a period of time exceeds a specific percentage, then the member is restarted.

Package: healthpolicy
Supertype: HealthCondition

Classifier ID:  -1
Instance class name:  * Unspecified *
Instance class:  * Unspecified *



Attributes Summary
samplingPeriod : EInt This attribute is used in concert with the samplingUnits to define the sample period when calculating amount of time spent in garbage collection. Acceptable values for this field are between (and including) 1 minute and 24 hours.
samplingUnits : EInt This attribute is used in concert with the samplingPeriod to define the period of time over which to calculate percentage of time spent in garbage collection. This field is the samplingUnits, which can be "minutes" or "hours", but stored within the model as an integer representation. The mapping for the units value are defined in the XDConstants.java file in xd.util: UNITS_MINUTES=2 UNITS_HOURS=3
garbageCollectionPercent : EInt The garbage collection condition policy restarts members when the amount of time spent in garbage collection over the sample period exceeds the threshold defined in garbage collection percent. Acceptable values for this field are whole numbers between (and including) 1 and 99.



Attribute Details

samplingPeriod  -  This attribute is used in concert with the samplingUnits to define the sample period when calculating amount of time spent in garbage collection. Acceptable values for this field are between (and including) 1 minute and 24 hours.
    Data Type: EInt
    Default value:  2
    Required:  false
    Changeable:  true
    Unsettable:  false
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false

samplingUnits  -  This attribute is used in concert with the samplingPeriod to define the period of time over which to calculate percentage of time spent in garbage collection. This field is the samplingUnits, which can be "minutes" or "hours", but stored within the model as an integer representation. The mapping for the units value are defined in the XDConstants.java file in xd.util: UNITS_MINUTES=2 UNITS_HOURS=3
    Data Type: EInt
    Default value:  2
    Required:  false
    Changeable:  true
    Unsettable:  false
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false

garbageCollectionPercent  -  The garbage collection condition policy restarts members when the amount of time spent in garbage collection over the sample period exceeds the threshold defined in garbage collection percent. Acceptable values for this field are whole numbers between (and including) 1 and 99.
    Data Type: EInt
    Default value:  10
    Required:  false
    Changeable:  true
    Unsettable:  false
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false



(C) COPYRIGHT International Business Machines Corp. 1996-2006