Class FilterIndexesByBloatPredicate
java.lang.Object
io.github.mfvanek.pg.checks.predicates.FilterIndexesByBloatPredicate
- All Implemented Interfaces:
Predicate<IndexBloatAware>
Allows filter indexes by their bloat.
- Since:
- 0.6.0
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
isOk
(BloatAware bloatAware) static Predicate<IndexBloatAware>
of
(long sizeThresholdInBytes, int percentageThreshold) boolean
test
(IndexBloatAware indexBloatAware)
-
Method Details
-
test
- Specified by:
test
in interfacePredicate<IndexBloatAware>
-
of
@Nonnull public static Predicate<IndexBloatAware> of(long sizeThresholdInBytes, int percentageThreshold) -
isOk
-