This type is a class for model objects.
The AgeCondition is used to define an Age-based health condition. This is considered a prevention policy, which can be used to alleviate conditions that might lead to problems at a later date. The age-based condition policy restarts the members associated with it when their age reaches a certain user-defined value. This restart allows for the dumping of all cached and memory acquired data and is the equivalent of a clean start.
Package: healthpolicyAttributes Summary | |
maxAge : EInt | The maxAge attribute is used in concert with the ageUnits attribute to for the age at which to restart the application servers targetted by this HealthClass. Acceptable values are positive whole numbers in days or hours between 1 hour and 365 days. If you are interested in entering a value like 1.2 days, you would need to use 36 hours instead, since decimal numbers are not supported. Validation is done on this field based on the ageUnits value, so 366 is not valid if the ageUnits is days, but 366 IS valid if the ageUnits is hours. Zero and negative numbers are not allowed. |
ageUnits : EInt | The ageUnits attribute is used in concert with the MaxAge attribute to for the age at which to restart the application servers targetted by this HealthClass. 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_HOURS = 3; UNITS_DAYS = 4; |
Attribute Details |