An aging policy can be set to flag records that have not been updated
within a defined interval. This is useful for detecting records that may be
"stale".
Aging policies are an advanced, optional feature for a window or other stateful element.
- Select Set Aging Policy
and set values:
Value |
Description |
Aging Time |
This is an interval value. Any record in the window that has
not been updated for this much time will have the Aging
Field incremented. When the record is updated (or the
Aging Time Field changes), the timer will be reset. The
period can be specified in hours, minutes, seconds,
milliseconds, or microseconds. |
Aging Field |
The field in the record that must be incremented by 1 every
time the aging time period elapses and no activity has occurred
on the record, or until a maximum defined value is reached. By default, this value is 1. |
(Optional) Max Aging Field Value |
The maximum value that the aging field can be incremented to.
If not specified, the aging field is incremented
once. |
(Optional) Aging Time Field |
The start time of the aging process. If not specified, the internal row time is
used. If specified, the field must contain a valid start time. |
- (Optional) Double-click the policy to edit its parameters.
When the project runs, records accumulate until the Aging Time or the Max Aging Field Value is reached. On an update to a record, the age is reset to 0.