private static boolean createAndStartCollector ( CloudWatchMetricConfig config ) { MetricCollectorSupport collector = new MetricCollectorSupport ( config ) ; if ( collector . start ( ) ) { singleton = collector ; return true ; } return false ; }
Returns true if the collector is successfully created and started ; false otherwise .