parent
3bef488faf
commit
c05a3e0e26
2 changed files with 0 additions and 2 deletions
|
|
@ -1108,7 +1108,6 @@ final class Flow[-In, +Out, +Mat](delegate: scaladsl.Flow[In, Out, Mat]) extends
|
||||||
*
|
*
|
||||||
* @param attempts Maximum number of retries or -1 to retry indefinitely
|
* @param attempts Maximum number of retries or -1 to retry indefinitely
|
||||||
* @param pf Receives the failure cause and returns the new Source to be materialized if any
|
* @param pf Receives the failure cause and returns the new Source to be materialized if any
|
||||||
* @throws IllegalArgumentException if `attempts` is a negative number other than -1
|
|
||||||
*/
|
*/
|
||||||
def recoverWithRetries[T >: Out](attempts: Int, pf: PartialFunction[Throwable, _ <: Graph[SourceShape[T], NotUsed]]): javadsl.Flow[In, T, Mat @uncheckedVariance] =
|
def recoverWithRetries[T >: Out](attempts: Int, pf: PartialFunction[Throwable, _ <: Graph[SourceShape[T], NotUsed]]): javadsl.Flow[In, T, Mat @uncheckedVariance] =
|
||||||
new Flow(delegate.recoverWithRetries(attempts, pf))
|
new Flow(delegate.recoverWithRetries(attempts, pf))
|
||||||
|
|
|
||||||
|
|
@ -615,7 +615,6 @@ trait FlowOps[+Out, +Mat] {
|
||||||
*
|
*
|
||||||
* @param attempts Maximum number of retries or -1 to retry indefinitely
|
* @param attempts Maximum number of retries or -1 to retry indefinitely
|
||||||
* @param pf Receives the failure cause and returns the new Source to be materialized if any
|
* @param pf Receives the failure cause and returns the new Source to be materialized if any
|
||||||
* @throws IllegalArgumentException if `attempts` is a negative number other than -1
|
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
def recoverWithRetries[T >: Out](attempts: Int, pf: PartialFunction[Throwable, Graph[SourceShape[T], NotUsed]]): Repr[T] =
|
def recoverWithRetries[T >: Out](attempts: Int, pf: PartialFunction[Throwable, Graph[SourceShape[T], NotUsed]]): Repr[T] =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue