Class StaticLtmLoadingBushRooted

    • Constructor Detail

      • StaticLtmLoadingBushRooted

        public StaticLtmLoadingBushRooted​(IdGroupingToken idToken,
                                          long assignmentId,
                                          StaticLtmSettings settings)
        Constructor
        Parameters:
        idToken - to use
        assignmentId - to use
        settings - to use
    • Method Detail

      • createBushFlowUpdateConsumer

        protected BushFlowUpdateConsumer<RootedLabelledBush> createBushFlowUpdateConsumer​(boolean updateTurnAcceptedFlows,
                                                                                          boolean updateSendingFlows,
                                                                                          boolean updateOutflows)
        TODO: Create factory class for this

        Factory method to create the right flow update consumer to use when conducting a bush based flow update. We either create one that updates turn accepted flows (and possibly also sending flows), or one that only updates (network wide) link sending flows and/or link outflows. The latter is to be used for initialisation/finalisation purposes only. The former is the one used during the iterative loading procedure.

        Specified by:
        createBushFlowUpdateConsumer in class StaticLtmLoadingBushBase<RootedLabelledBush>
        Parameters:
        updateTurnAcceptedFlows - flag indicating if the turn accepted flows are to be updated by this consumer
        updateSendingFlows - flag indicating if the link sending flow are to be updated by this consumer
        updateOutflows - flag indicating if the link outflows are to be updated by this consumer
        Returns:
        created flow update consumer