Modifier and Type | Method and Description |
---|---|
CapturingReader.Config.Builder |
CapturingReader.Config.Builder.onDone(Consumer<? super CapturingReader> callback)
Sets a callback that will be triggered when reading from built capturing readers is done.
|
CapturingReader.Config.Builder |
CapturingReader.Config.Builder.onError(BiConsumer<? super CapturingReader,? super IOException> callback)
Sets a callback that will be triggered when an
IOException occurs while using built capturing readers. |
CapturingReader.Config.Builder |
CapturingReader.Config.Builder.onLimitReached(Consumer<? super CapturingReader> callback)
Sets a callback that will be triggered when built capturing readers hit their limit.
|
Copyright © 2020–2024. All rights reserved.