GenericJoinPolicy
Adapter that wraps a GenericPolicy to implement the JoinPolicy interface. Allows generic policies to be used for join node source selection.
Parameters
T
the type of entities being merged
policy
the GenericPolicy that handles source selection logic
Functions
Link copied to clipboard
context(_: Simulator)
open override fun initialize(sources: List<PullInputChannel<T>>, destination: PullOutputChannel<T>)
open override fun initialize(sources: List<PullInputChannel<T>>, destination: PullOutputChannel<T>)
Initializes the policy with the source and destination channels. Sets up initial state and event listeners for channel readiness events.
Link copied to clipboard
Called when a source channel is no longer ready (has no data available).
Link copied to clipboard
Called when a source channel becomes ready (has data available).
Link copied to clipboard
Selects the source channel to pull from.