@Override public Long getValue() { return counts.getTotalNumberOfCheckpoints(); } }
@Override public Long getValue() { return counts.getTotalNumberOfCheckpoints(); } }
@Override public Long getValue() { return counts.getTotalNumberOfCheckpoints(); } }
@Override public Long getValue() { return counts.getTotalNumberOfCheckpoints(); } }
private static void writeCounts(JsonGenerator gen, CheckpointStatsCounts counts) throws IOException { gen.writeObjectFieldStart("counts"); gen.writeNumberField("restored", counts.getNumberOfRestoredCheckpoints()); gen.writeNumberField("total", counts.getTotalNumberOfCheckpoints()); gen.writeNumberField("in_progress", counts.getNumberOfInProgressCheckpoints()); gen.writeNumberField("completed", counts.getNumberOfCompletedCheckpoints()); gen.writeNumberField("failed", counts.getNumberOfFailedCheckpoints()); gen.writeEndObject(); }
private static void writeCounts(JsonGenerator gen, CheckpointStatsCounts counts) throws IOException { gen.writeObjectFieldStart(CheckpointingStatistics.FIELD_NAME_COUNTS); gen.writeNumberField(CheckpointingStatistics.Counts.FIELD_NAME_RESTORED_CHECKPOINTS, counts.getNumberOfRestoredCheckpoints()); gen.writeNumberField(CheckpointingStatistics.Counts.FIELD_NAME_TOTAL_CHECKPOINTS, counts.getTotalNumberOfCheckpoints()); gen.writeNumberField(CheckpointingStatistics.Counts.FIELD_NAME_IN_PROGRESS_CHECKPOINTS, counts.getNumberOfInProgressCheckpoints()); gen.writeNumberField(CheckpointingStatistics.Counts.FIELD_NAME_COMPLETED_CHECKPOINTS, counts.getNumberOfCompletedCheckpoints()); gen.writeNumberField(CheckpointingStatistics.Counts.FIELD_NAME_FAILED_CHECKPOINTS, counts.getNumberOfFailedCheckpoints()); gen.writeEndObject(); }
checkpointStatsCounts.getTotalNumberOfCheckpoints(), checkpointStatsCounts.getNumberOfInProgressCheckpoints(), checkpointStatsCounts.getNumberOfCompletedCheckpoints(),
checkpointStatsCounts.getTotalNumberOfCheckpoints(), checkpointStatsCounts.getNumberOfInProgressCheckpoints(), checkpointStatsCounts.getNumberOfCompletedCheckpoints(),
checkpointStatsCounts.getTotalNumberOfCheckpoints(), checkpointStatsCounts.getNumberOfInProgressCheckpoints(), checkpointStatsCounts.getNumberOfCompletedCheckpoints(),