RetryLoader implements Closure, Loader, OverridingLoader
Read onlyYes
FinalYes
Interfaces
- Closure
- Loaders implementing this adapter will be additionally notified by the pipeline about the last set of Rows processed by the pipeline.
- Loader
- OverridingLoader
- Loaders implementing OverridingLoader interface overrides one or more loaders.
Methods
- __construct() : mixed
- closure() : void
- load() : void
- loaders() : array<string|int, Loader>
Methods
__construct()
public
__construct(Loader $loader[, RetryStrategy $retryStrategy = new AnyThrowableExcept([InvalidLogicException::class], 3) ][, DelayFactory $delayFactory = new FixedMilliseconds(200) ][, Sleep $sleep = new SystemSleep() ]) : mixed
Parameters
- $loader : Loader
- $retryStrategy : RetryStrategy = new AnyThrowableExcept([InvalidLogicException::class], 3)
- $delayFactory : DelayFactory = new FixedMilliseconds(200)
- $sleep : Sleep = new SystemSleep()
closure()
public
closure(FlowContext $context) : void
Parameters
- $context : FlowContext
load()
public
load(Rows $rows, FlowContext $context) : void
Parameters
- $rows : Rows
- $context : FlowContext
loaders()
public
loaders() : array<string|int, Loader>