MemoryCondition

This type is a class for model objects.

The detection policies identify and correct existing health conditions. The excessive memory condition policy tracks the memory usage for a member. When the memory usage exceeds a percentage of the heap size for a certain amount of time, then the member is restarted.

Package: healthpolicy
Supertype: HealthCondition

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



Attributes Summary
timeOverThreshold : EInt This attribute is used in concert with the timeUnits to define the length of time that the memory utilization must be over the memoryUsed value before restarting. Acceptable values for this field are between (and including) 1 second and 60 minutes.
timeUnits : EInt This attribute is used in concert with the timeOverThreshold to define the length of time that the memory utilization must be over the memoryUsed value before restarting. This field is the ageUnits, which can be "hours" or "days", 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_SECONDS=1 UNITS_MINUTES=2
memoryUsed : EInt The excessive memory condition policy restarts members when the memory usage exceeds a percentage of your heap size over a period of time. The total memory used percentage is used in combination with the time over memory threshold value to determine when to restart members. Acceptable values for this field are whole numbers between (and including) 1 and 99.



Attribute Details

timeOverThreshold  -  This attribute is used in concert with the timeUnits to define the length of time that the memory utilization must be over the memoryUsed value before restarting. Acceptable values for this field are between (and including) 1 second and 60 minutes.
    Data Type: EInt
    Default value:  5
    Required:  false
    Changeable:  true
    Unsettable:  false
    Many:  false
    Ordered:  true
    Lower bound:  0
    Upper bound:  1
    Unique:  true
    Derived:  false
    Transient:  false
    Volatile:  false

timeUnits  -  This attribute is used in concert with the timeOverThreshold to define the length of time that the memory utilization must be over the memoryUsed value before restarting. This field is the ageUnits, which can be "hours" or "days", 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_SECONDS=1 UNITS_MINUTES=2
    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

memoryUsed  -  The excessive memory condition policy restarts members when the memory usage exceeds a percentage of your heap size over a period of time. The total memory used percentage is used in combination with the time over memory threshold value to determine when to restart members. Acceptable values for this field are whole numbers between (and including) 1 and 99.
    Data Type: EInt
    Default value:  85
    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