Handler - expireOldProducts

 

Description

This juggler deletes expired subproducts from the composite product. Products expire based on the lifeTimeLong metadata attribute. If there are multiple inputs it merges them before checking for expiration.

Configuration Variables

None

Product

Product is null if there are no sources, if the root has expired, or if all of the subproducts in the composite product are expired.

How it works

The juggler starts at the root and tests each product node (if the product is a composite product). Any node that has expired is deleted. If the node is the head of a subtree then the entire subtree is deleted.
  

Revised: 12 January 1999