Added min and max to TimeMetric.
Added withMetrics method to AbstractStoreQueueBuilder.