public interface FragmentHandlerProvider
FragmentHandler. Implementations should not only be thread safe, they are ment to abstract the
logic to decide when should a fragment be reused and when should a new one be spawned.| Modifier and Type | Method and Description |
|---|---|
FragmentHandler |
getFragmentHandler(Consumer<FragmentHandler> newFragmentHandlerCallback)
Provides instances of
FragmentHandler. |
FragmentHandler getFragmentHandler(Consumer<FragmentHandler> newFragmentHandlerCallback)
FragmentHandler. Depending on the streaming scenario, subsequent invokations to this method
might return new or previous instances. If a new instance is returned, then the provided newFragmentHandlerCallback
will be invoked before the value is returnednewFragmentHandlerCallback - a callback to notify that a new instance will be returnedFragmentHandlerCopyright © 2003–2024 MuleSoft, Inc.. All rights reserved.