public void setMaxRecursiveDepth(int recursiveDepth) { int maxRdepth = metrics.getInt(MAX_RECURSIVE_DEPTH); if (recursiveDepth > maxRdepth) { metrics.set(MAX_RECURSIVE_DEPTH, recursiveDepth); } }