main/src/main/java/org/onap/policy/pap/main/rest/depundep/SessionData.java
/**
     * Adds an update to the set of updates, replacing any previous entry for the given
     * PDP.
     *
     * @param update the update to be added
     */
Adds an update to the set of updates, replacing any previous entry for the given
PDP.

@param update the update to be added
Adds an update to the set of updates replacing any previous entry for the given PDP . @param update the update to be added
public void addUpdate(PdpUpdate update) {
        logger.info("add update {} {} {} policies={}", update.getName(), update.getPdpGroup(), update.getPdpSubgroup(),
                        update.getPolicies().size());
        pdpRequests.compute(update.getName(), (name, data) -> Pair.of(update, (data == null ? null : data.getRight())));
    }
public void addUpdate ( PdpUpdate update ) { logger . info ( "add update {} {} {} policies={}" , update . getName ( ) , update . getPdpGroup ( ) , update . getPdpSubgroup ( ) , update . getPolicies ( ) . size ( ) ) ; pdpRequests . compute ( update . getName ( ) , ( name , data ) -> Pair . of ( update , ( data == null ? null : data . getRight ( ) ) ) ) ; }
Adds an update to the set of updates, replacing any previous entry for the given
 PDP.
Adds an update to the set of updates replacing any previous entry for the given PDP .