Class FrozenNodeRefsUsingIndexCommand

  • All Implemented Interfaces:
    Command

    public class FrozenNodeRefsUsingIndexCommand
    extends Object
    implements Command
    Scans and lists all references to nt:frozenNode and returns an exit code of 1 if any are found (0 otherwise).

    This variant uses the /oak:index/reference by scanning through that list (only) and checking if any reference points to an nt:frozenNode (under /jcr:system/jcr:versionStorage at depth > 7).

    Example:

     java -mx4g -jar oak-run-*.jar frozennoderefsusingindex mongodb://localhost/<dbname>