Package org.apache.jackrabbit.oak.run
Class FrozenNodeRefsUsingIndexCommand
- java.lang.Object
-
- org.apache.jackrabbit.oak.run.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>
-
-
Constructor Summary
Constructors Constructor Description FrozenNodeRefsUsingIndexCommand()
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-