/** {@inheritDoc} */ @Override protected Void run(VisorIgfsResetMetricsTaskArg arg) { for (String igfsName : arg.getIgfsNames()) try { ignite.fileSystem(igfsName).resetMetrics(); } catch (IllegalArgumentException iae) { throw new IgniteException("Failed to reset metrics for IGFS: " + igfsName, iae); } return null; }
/** {@inheritDoc} */ @Override protected Void run(VisorIgfsResetMetricsTaskArg arg) { for (String igfsName : arg.getIgfsNames()) try { ignite.fileSystem(igfsName).resetMetrics(); } catch (IllegalArgumentException iae) { throw new IgniteException("Failed to reset metrics for IGFS: " + igfsName, iae); } return null; }