I meant add Percent to the name of the class: SoftMemoryFlushPercent, perhaps.

Also, putting a require(0 < x && x <= 1.0, "must be a percentage.") would be good.