java.lang.Object
com.atlassian.confluence.upgrade.upgradetask.splitindex.IndexInfo

public class IndexInfo extends Object
Collects information about an index to quickly determine where in a process we are
Since:
7.9.0
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    boolean
     
    @org.checkerframework.checker.nullness.qual.NonNull long
     
    @org.checkerframework.checker.nullness.qual.NonNull long
     
    @org.checkerframework.checker.nullness.qual.NonNull long
     
    @org.checkerframework.checker.nullness.qual.NonNull long
     
    @org.checkerframework.checker.nullness.qual.NonNull long
     
    boolean
    Helper that tells you that this index has change documents
    boolean
    Helper that tells you that this index has content documents
    boolean
    Helper that tells you that this index has documents
    int
     
    @org.checkerframework.checker.nullness.qual.NonNull boolean
     
    @org.checkerframework.checker.nullness.qual.NonNull boolean
     
    @org.checkerframework.checker.nullness.qual.NonNull boolean
     
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • isValid

      public @org.checkerframework.checker.nullness.qual.NonNull boolean isValid()
    • isEmptyFolder

      public @org.checkerframework.checker.nullness.qual.NonNull boolean isEmptyFolder()
    • isOldVersion

      public @org.checkerframework.checker.nullness.qual.NonNull boolean isOldVersion()
    • getDocuments

      public @org.checkerframework.checker.nullness.qual.NonNull long getDocuments()
    • getMax

      public @org.checkerframework.checker.nullness.qual.NonNull long getMax()
    • getDeleted

      public @org.checkerframework.checker.nullness.qual.NonNull long getDeleted()
    • getContent

      public @org.checkerframework.checker.nullness.qual.NonNull long getContent()
    • getChanges

      public @org.checkerframework.checker.nullness.qual.NonNull long getChanges()
    • hasDocuments

      public boolean hasDocuments()
      Helper that tells you that this index has documents
      Returns:
      boolean true if there are documents
    • hasContent

      public boolean hasContent()
      Helper that tells you that this index has content documents
      Returns:
      boolean true if there are content documents
    • hasChanges

      public boolean hasChanges()
      Helper that tells you that this index has change documents
      Returns:
      boolean true if there are change documents
    • toString

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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • builder

      public static IndexInfo.Builder builder()