class ConsistencyStatusCommand implements ComputeCommand<NoArg, ConsistencyTaskResult> {
    /** {@inheritDoc} */
    @Override public String description() {
        return "Cache consistency check/repair operations status";
    }

    /** {@inheritDoc} */
    @Override public Class<NoArg> argClass() {
        return NoArg.class;
    }

    /** {@inheritDoc} */
    @Override public Class<ConsistencyStatusTask> taskClass() {
        return ConsistencyStatusTask.class;
    }

    /** {@inheritDoc} */
    @Override public Collection<GridClientNode> nodes(Collection<GridClientNode> nodes, NoArg arg) {
        return servers(nodes);
    }

    /** {@inheritDoc} */
    @Override public void printResult(NoArg arg, ConsistencyTaskResult res, Consumer<String> printer) {<FILL_FUNCTION_BODY>}
}

        if (res.cancelled())
            printer.accept("Operation execution cancelled.\n\n");

        if (res.failed())
            printer.accept("Operation execution failed.\n\n");

        if (res.cancelled() || res.failed())
            printer.accept("[EXECUTION FAILED OR CANCELLED, RESULTS MAY BE INCOMPLETE OR INCONSISTENT]\n\n");

        printer.accept(res.message());
    
<no_super_class>