public Config setPNCounterConfigs ( Map < String , PNCounterConfig > pnCounterConfigs ) { this . pnCounterConfigs . clear ( ) ; this . pnCounterConfigs . putAll ( pnCounterConfigs ) ; for ( Entry < String , PNCounterConfig > entry : pnCounterConfigs . entrySet ( ) ) { entry . getValue ( ) . setName ( entry . getKey ( ) ) ; } return this ; }
Sets the map of PN counter configurations mapped by config name . The config name may be a pattern with which the configuration will be obtained in the future .