public final class RetryWhen<T> extends Object implements Stream<T>
CLOSEABLE_CLOSER, DEFAULT_BUFFER_SIZE, DEFAULT_BYTE_BUFFER_SIZE
Constructor and Description |
---|
RetryWhen(Stream<T> stream,
Function<? super Throwable,? extends Single<?>> function) |
Modifier and Type | Method and Description |
---|---|
static <T> Stream<T> |
build(Stream<T> stream,
Stream<Long> delays,
int maxRetries,
Predicate<? super Throwable> predicate) |
StreamIterator<T> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
all, any, buffer, buffer, bufferUntil, bufferUntil, bufferUntil, bufferUntil, bufferWhile, bufferWhile, bufferWhile, bufferWhile, byteBuffers, byteBuffers, byteBuffers, byteBuffers, bytes, bytes, bytes, bytes, cache, cast, chars, chars, collect, collect, collect, compose, composeMaybe, composeSingle, concatWith, contains, count, create, defer, delayStart, dematerialize, distinct, distinct, distinctUntilChanged, distinctUntilChanged, doAfterDispose, doBeforeDispose, doOnComplete, doOnDispose, doOnEmpty, doOnError, doOnNext, doOnStart, doWithIndex, empty, error, error, every, exists, filter, findFirst, first, flatMap, flatMap, flatMap, flatMapJavaStream, forEach, forEach2, from, from, from, from, from, from, from, fromArray, fromArray, fromArray, fromArray, fromArray, fromArray, fromArray, fromArray, generate, generate, get, go, groupBy, groupByList, groupByList, groupByList, groupBySet, groupBySet, groupBySet, hasElements, ignoreDisposalError, ignoreDisposalError, inputStream, interval, isEmpty, join, last, lines, lines, lines, lines, lines, linesFromResource, linesFromResource, linesFromResource, map, mapWithIndex, mapWithIndex, materialize, max, maybe, merge, mergeWith, min, of, of, of, of, of, of, of, of, ordinals, ordinalsLong, permutations, powerSet, prepend, prepend, prepend, println, printStackTrace, range, rangeLong, reduce, reduce, reduceWithFactory, repeat, repeat, repeatElement, repeatElement, repeatLast, repeatLast, retryWhen, retryWhen, reverse, scan, single, skip, skipUntil, skipWhile, sorted, sorted, split, start, statistics, statistics, strings, strings, strings, sumDouble, sumInt, sumLong, switchOnEmpty, switchOnError, take, takeLast, takeUntil, takeWhile, test, to, toList, toList, toMap, toSet, toSet, toStreamJava, transform, transformMaybe, transformSingle, using, using, zipWith
iteratorNullChecked
forEach, spliterator
Copyright © 2018–2023. All rights reserved.