Class DefaultSearchStatus

    • Constructor Detail

      • DefaultSearchStatus

        public DefaultSearchStatus​(long totalCount,
                                   long errorCount,
                                   long successCount)
    • Method Detail

      • totalCount

        public long totalCount()
        Description copied from interface: SearchStatus
        the total number of FTS pindexes that were queried.
        Specified by:
        totalCount in interface SearchStatus
      • successCount

        public long successCount()
        Description copied from interface: SearchStatus
        the number of FTS pindexes queried that successfully answered.
        Specified by:
        successCount in interface SearchStatus
      • errorCount

        public long errorCount()
        Description copied from interface: SearchStatus
        the number of FTS pindexes queried that gave an error.
        Specified by:
        errorCount in interface SearchStatus
      • isSuccess

        public boolean isSuccess()
        Specified by:
        isSuccess in interface SearchStatus
        Returns:
        true if all FTS indexes answered successfully.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object