code: public long nextGenerationStamp(Block block, boolean fromNN) throws IOException{
      myMetrics.numNextGenerationStamp.inc();
      return namesystem.nextGenerationStampForBlock(block, fromNN);
    }
docs: {@inheritDoc}