513514515516517518519
if( metrics != null ) { MetricsCounterFactory metricsFactory = metrics.createFactory( MetricsCounterFactory.class ); return metricsFactory.createCounter( getClass(), "UnitOfWork Counter" ); } return new DefaultMetric(); }