org.apache.activemq.apollo.util
The function which produces captures metric value and optionally clears it.
Clears the metric value.