Class ExclusionsBuilder

    • Method Detail

      • withDuplicatedIndexesExclusions

        public ExclusionsBuilder withDuplicatedIndexesExclusions​(@Nonnull
                                                                 java.lang.String duplicatedIndexesExclusions)
        Sets a list of duplicated indexes that should be excluded by HealthLogger.
        Parameters:
        duplicatedIndexesExclusions - comma-separated list of duplicated indexes, for example "idx_name_1, idx_name_2"
        Returns:
        Builder
      • withIntersectedIndexesExclusions

        public ExclusionsBuilder withIntersectedIndexesExclusions​(@Nonnull
                                                                  java.lang.String intersectedIndexesExclusions)
        Sets a list of intersected indexes that should be excluded by HealthLogger.
        Parameters:
        intersectedIndexesExclusions - comma-separated list of intersected indexes, for example "idx_name_1, idx_name_2"
        Returns:
        Builder
      • withUnusedIndexesExclusions

        public ExclusionsBuilder withUnusedIndexesExclusions​(@Nonnull
                                                             java.lang.String unusedIndexesExclusions)
        Sets a list of unused indexes that should be excluded by HealthLogger.
        Parameters:
        unusedIndexesExclusions - comma-separated list of unused indexes, for example "idx_name_1, idx_name_2"
        Returns:
        Builder
      • withTablesWithMissingIndexesExclusions

        public ExclusionsBuilder withTablesWithMissingIndexesExclusions​(@Nonnull
                                                                        java.lang.String tablesWithMissingIndexesExclusions)
      • withTablesWithoutPrimaryKeyExclusions

        public ExclusionsBuilder withTablesWithoutPrimaryKeyExclusions​(@Nonnull
                                                                       java.lang.String tablesWithoutPrimaryKeyExclusions)
      • withIndexesWithNullValuesExclusions

        public ExclusionsBuilder withIndexesWithNullValuesExclusions​(@Nonnull
                                                                     java.lang.String indexesWithNullValuesExclusions)
      • withIndexSizeThreshold

        public ExclusionsBuilder withIndexSizeThreshold​(long indexSizeThresholdInBytes)
      • withTableSizeThreshold

        public ExclusionsBuilder withTableSizeThreshold​(long tableSizeThresholdInBytes)
      • withIndexBloatSizeThreshold

        public ExclusionsBuilder withIndexBloatSizeThreshold​(long indexBloatSizeThresholdInBytes)
      • withIndexBloatPercentageThreshold

        public ExclusionsBuilder withIndexBloatPercentageThreshold​(int indexBloatPercentageThreshold)
      • withTableBloatSizeThreshold

        public ExclusionsBuilder withTableBloatSizeThreshold​(long tableBloatSizeThresholdInBytes)
      • withTableBloatPercentageThreshold

        public ExclusionsBuilder withTableBloatPercentageThreshold​(int tableBloatPercentageThreshold)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object