/** * Convenience for {@link #peekInputP(DistributedFunction, * DistributedPredicate, ProcessorMetaSupplier) peekInput(toStringFn, * shouldLogFn, metaSupplier)} with a pass-through filter and {@code * Object#toString} as the formatting function. This variant accepts a * {@code ProcessorSupplier} instead of a meta-supplier. */ @Nonnull public static ProcessorSupplier peekInputP(@Nonnull ProcessorSupplier wrapped) { return peekInputP(Object::toString, alwaysTrue(), wrapped); }
/** * Convenience for {@link #peekInputP(DistributedFunction, * DistributedPredicate, ProcessorMetaSupplier) peekInput(toStringFn, * shouldLogFn, metaSupplier)} with a pass-through filter and {@code * Object#toString} as the formatting function. */ @Nonnull public static ProcessorMetaSupplier peekInputP(@Nonnull ProcessorMetaSupplier wrapped) { return peekInputP(Object::toString, alwaysTrue(), wrapped); }
/** * Convenience for {@link #peekInputP(DistributedFunction, * DistributedPredicate, ProcessorMetaSupplier) peekInput(toStringFn, * shouldLogFn, metaSupplier)} with a pass-through filter and {@code * Object#toString} as the formatting function. This variant accepts a * {@code DistributedSupplier} of processors instead of a meta-supplier. */ @Nonnull public static DistributedSupplier<Processor> peekInputP(@Nonnull DistributedSupplier<Processor> wrapped) { return peekInputP(Object::toString, alwaysTrue(), wrapped); }