Class JoinListenerRecorder

All Implemented Interfaces:
LogOutputAppendable, LivenessManager, LivenessNode, LivenessReferent, TableListener, TableUpdateListener, NotificationQueue.Dependency, Serializable

public class JoinListenerRecorder extends ListenerRecorder
This is a listener that writes down the indices that were updated on a given clock cycle, and then notifies another listener. The intention is that you would have two of these, one for the left side and another for the right side of the join. The ListenerRecorders are created before the MergedJoinListener, so that they are always fired first in the priority queue. Once the MergedJoinListener is fired, it can examine the indices that were recorded into added and removed, and thus know what has changed on the left, and also what has changed on the right at the same time to produce a consistent output table.
See Also:
  • Constructor Details

    • JoinListenerRecorder

      public JoinListenerRecorder(boolean isLeft, String description, Table parent, BaseTable dependent)