public static void reset ( ) { SINGLETON = new HystrixMetricsPublisherFactory ( ) ; SINGLETON . commandPublishers . clear ( ) ; SINGLETON . threadPoolPublishers . clear ( ) ; SINGLETON . collapserPublishers . clear ( ) ; }
Resets the SINGLETON object . Clears all state from publishers . If new requests come in instances will be recreated .