HBASE-11301 [optionally] update jmx cache to drop old metrics (Maysam Yabandeh via stack)

(cherry picked from commit 74f4d8590de85eaa92c711010bbc0ff0e33ee2e8)