Class CleanupNodeFailures
java.lang.Object
org.exoplatform.addons.documents.cleanup.model.CleanupNodeFailures
Nodes a scan batch could not EVALUATE, and the first failure that did it.
Not the same thing as a failed scan unit: the subtree was walked fine, and
individual files inside it could not be judged — a
NullPointerException on a mix:versionable node with no base
version, a transient read error on one property. Each one used to be a WARN in
the log and a file silently missing from the report, while the unit finished
DONE and the campaign claimed a complete scan.
ONE failure is kept, the FIRST, plus a count of the rest. Keeping every stack trace of a subtree that fails on ten thousand nodes would be a column nobody can read and a row nobody can load; the first failure of a unit is what diagnoses the cause, and the count is what says how much the report lost.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CleanupNodeFailures
public CleanupNodeFailures()
-
-
Method Details
-
record
Records one node the scan could not evaluate.- Parameters:
throwable- what stopped the evaluation
-
isEmpty
public boolean isEmpty()
-