Class MarkerTool.ScanResult

java.lang.Object
org.apache.hadoop.fs.s3a.tools.MarkerTool.ScanResult
Enclosing class:
MarkerTool

public static final class MarkerTool.ScanResult extends Object
Result of the scan operation.
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getExitCode

      public int getExitCode()
      Returns:
      Exit code to report.
    • getTracker

      public DirMarkerTracker getTracker()
      Returns:
      Tracker which did the scan.
    • getPurgeSummary

      public MarkerTool.MarkerPurgeSummary getPurgeSummary()
      Returns:
      Summary of purge. Null if none took place.
    • getTotalMarkerCount

      public int getTotalMarkerCount()
    • getFilteredMarkerCount

      public int getFilteredMarkerCount()
    • finish

      public int finish() throws org.apache.hadoop.util.ExitUtil.ExitException
      Throw an exception if the exit code is non-zero.
      Returns:
      0 if everything is good.
      Throws:
      org.apache.hadoop.util.ExitUtil.ExitException - if code != 0