bundles/org.eclipse.packagedrone.repo.channel.impl/src/org/eclipse/packagedrone/repo/channel/impl/ChannelServiceImpl.java
private void updateDeployGroupCache ( final ChannelServiceAccess model )
    {
        // this will simply rebuild the complete map

        // clear first
        this.deployKeysMap.clear ();

        // fill afterwards
        for ( final Map.Entry<String, Set<String>> entry : model.getDeployGroupMap ().entrySet () )
        {
            final String channelId = entry.getKey ();
            final List<DeployGroup> groups = entry.getValue ().stream ().map ( groupId -> model.getDeployGroup ( groupId ) ).collect ( Collectors.toList () );
            this.deployKeysMap.putAll ( channelId, groups );
        }
    }
private void updateDeployGroupCache ( final ChannelServiceAccess model )
    {
        // this will simply rebuild the complete map

        // clear first
        this.deployKeysMap.clear ();

        // fill afterwards
        for ( final Map.Entry<String, Set<String>> entry : model.getDeployGroupMap ().entrySet () )
        {
            final String channelId = entry.getKey ();
            final List<DeployGroup> groups = entry.getValue ().stream ().map ( groupId -> model.getDeployGroup ( groupId ) ).collect ( Collectors.toList () );
            this.deployKeysMap.putAll ( channelId, groups );
        }
    }
private void updateDeployGroupCache ( final ChannelServiceAccess model ) { // this will simply rebuild the complete map // clear first this . deployKeysMap . clear ( ) ; // fill afterwards for ( final Map . Entry < String , Set < String > > entry : model . getDeployGroupMap ( ) . entrySet ( ) ) { final String channelId = entry . getKey ( ) ; final List < DeployGroup > groups = entry . getValue ( ) . stream ( ) . map ( groupId -> model . getDeployGroup ( groupId ) ) . collect ( Collectors . toList ( ) ) ; this . deployKeysMap . putAll ( channelId , groups ) ; } }
Update the channel to deploy group cache map

@param model
the model to fill the cache from
Update the channel to deploy group cache map