public void resetAllMinMax() { readBlockOp.resetMinMax(); writeBlockOp.resetMinMax(); readMetadataOp.resetMinMax(); blockChecksumOp.resetMinMax(); copyBlockOp.resetMinMax(); replaceBlockOp.resetMinMax(); heartbeats.resetMinMax(); blockReports.resetMinMax(); } }
/** * @inheritDoc */ public void resetAllMinMax() { myMetrics.rpcProcessingTime.resetMinMax(); myMetrics.rpcQueueTime.resetMinMax(); } }
public void resetAllMinMax() { this.atomicIncrementTime.resetMinMax(); this.fsReadLatency.resetMinMax(); this.fsWriteLatency.resetMinMax(); this.fsWriteSize.resetMinMax(); this.fsSyncLatency.resetMinMax(); this.slowHLogAppendTime.resetMinMax(); }
public void resetAllMinMax() { transactions.resetMinMax(); syncs.resetMinMax(); blockReport.resetMinMax(); }
public void resetAllMinMax() { transactions.resetMinMax(); syncs.resetMinMax(); blockReport.resetMinMax(); } }
public void resetAllMinMax() { readBlockOp.resetMinMax(); writeBlockOp.resetMinMax(); readMetadataOp.resetMinMax(); blockChecksumOp.resetMinMax(); copyBlockOp.resetMinMax(); replaceBlockOp.resetMinMax(); heartbeats.resetMinMax(); blockReports.resetMinMax(); } }
/** * @inheritDoc */ public void resetAllMinMax() { myMetrics.rpcProcessingTime.resetMinMax(); myMetrics.rpcQueueTime.resetMinMax(); } }
@Override public Object invoke(String actionName, Object[] parms, String[] signature) throws MBeanException, ReflectionException { if (actionName == null || actionName.isEmpty()) throw new IllegalArgumentException(); // Right now we support only one fixed operation (if it applies) if (!(actionName.equals(RESET_ALL_MIN_MAX_OP)) || mbeanInfo.getOperations().length != 1) { throw new ReflectionException(new NoSuchMethodException(actionName)); } for (MetricsBase m : metricsRegistry.getMetricsList()) { if ( MetricsTimeVaryingRate.class.isInstance(m) ) { MetricsTimeVaryingRate.class.cast(m).resetMinMax(); } } return null; }
@Override public Object invoke(String actionName, Object[] parms, String[] signature) throws MBeanException, ReflectionException { if (actionName == null || actionName.isEmpty()) throw new IllegalArgumentException(); // Right now we support only one fixed operation (if it applies) if (!(actionName.equals(RESET_ALL_MIN_MAX_OP)) || mbeanInfo.getOperations().length != 1) { throw new ReflectionException(new NoSuchMethodException(actionName)); } for (MetricsBase m : metricsRegistry.getMetricsList()) { if ( MetricsTimeVaryingRate.class.isInstance(m) ) { MetricsTimeVaryingRate.class.cast(m).resetMinMax(); } } return null; }
@Override public Object invoke(String actionName, Object[] parms, String[] signature) throws MBeanException, ReflectionException { if (actionName == null || actionName.isEmpty()) throw new IllegalArgumentException(); // Right now we support only one fixed operation (if it applies) if (!(actionName.equals(RESET_ALL_MIN_MAX_OP)) || mbeanInfo.getOperations().length != 1) { throw new ReflectionException(new NoSuchMethodException(actionName)); } for (MetricsBase m : metricsRegistry.getMetricsList()) { if ( MetricsTimeVaryingRate.class.isInstance(m) ) { MetricsTimeVaryingRate.class.cast(m).resetMinMax(); } } return null; }
@Override public Object invoke(String actionName, Object[] parms, String[] signature) throws MBeanException, ReflectionException { if (actionName == null || actionName.isEmpty()) throw new IllegalArgumentException(); // Right now we support only one fixed operation (if it applies) if (!(actionName.equals(RESET_ALL_MIN_MAX_OP)) || mbeanInfo.getOperations().length != 1) { throw new ReflectionException(new NoSuchMethodException(actionName)); } for (MetricsBase m : metricsRegistry.getMetricsList()) { if ( MetricsTimeVaryingRate.class.isInstance(m) ) { MetricsTimeVaryingRate.class.cast(m).resetMinMax(); } } return null; }
@Override public Object invoke(String actionName, Object[] parms, String[] signature) throws MBeanException, ReflectionException { if (actionName == null || actionName.equals("")) throw new IllegalArgumentException(); // Right now we support only one fixed operation (if it applies) if (!(actionName.equals(RESET_ALL_MIN_MAX_OP)) || mbeanInfo.getOperations().length != 1) { throw new ReflectionException(new NoSuchMethodException(actionName)); } for (MetricsBase m : metricsRegistry.getMetricsList()) { if ( MetricsTimeVaryingRate.class.isInstance(m) ) { MetricsTimeVaryingRate.class.cast(m).resetMinMax(); } } return null; }
@Override public Object invoke(String actionName, Object[] parms, String[] signature) throws MBeanException, ReflectionException { if (actionName == null || actionName.equals("")) { throw new IllegalArgumentException(); } // Right now we support only one fixed operation (if it applies) if (!(actionName.equals(RESET_ALL_MIN_MAX_OP)) || mbeanInfo.getOperations().length != 1) { throw new ReflectionException(new NoSuchMethodException(actionName)); } for (MetricsBase m : metricsRegistry.getMetricsList()) { if ( MetricsTimeVaryingRate.class.isInstance(m) ) { MetricsTimeVaryingRate.class.cast(m).resetMinMax(); } } return null; }
mr.setMetric(getName() + "_min", getMinTime()); mr.setMetric(getName() + "_max", getMaxTime()); resetMinMax();