int getOutstandingCheckpoints ( ) { return ( int ) checkpoints . stream ( ) . filter ( checkpoint -> ! ( isCheckpointSilent ( checkpoint ) || isCheckpointComplete ( checkpoint ) ) ) . count ( ) ; }
Get the number of outstanding Checkpoints . It should not take silent Checkpoints into account .