public synchronized void stopAllRegisteredInformers ( ) { if ( Collections . isEmptyMap ( informers ) ) { return ; } informers . forEach ( ( informerType , informer ) -> { if ( startedInformers . containsKey ( informerType ) ) { startedInformers . remove ( informerType ) ; informer . stop ( ) ; } } ) ; informerExecutor . shutdown ( ) ; }
Stop all registered informers .