コード例 #1
0
 /**
  * Start Collector.
  *
  * @param conf configuration
  * @throws IOException
  */
 public UtilizationCollector(Configuration conf) throws IOException {
   setConf(conf);
   try {
     initialize(this.conf);
   } catch (IOException e) {
     this.stop();
     throw e;
   } catch (Exception e) {
     this.stop();
     throw new IOException(e);
   }
 }