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