DynamicPublisher(final BackendController controller, final List<CollectorConfiguration> config) { this.controller = controller; this.pool = MoreExecutors. listeningDecorator( Executors. newFixedThreadPool( 10, new ThreadFactoryBuilder(). setNameFormat("Publisher-thread-%d"). build() ) ); this.publishingCompleted = new CountDownLatch(1); this.manager= NotificationManager. newInstance( config, new PublishingNotificationListener( this.publishingCompleted, controller.getTarget())); }