See spec in parent issue (
SPARK-18085) for more details.
This task tracks restoring the functionality of the old UI where one could set up a limit on the number of certain elements to be stored (e.g. only store the most recent X tasks). This allows applications to control how much UI data is kept around so that disk (or memory) usage is bounded.