コード例 #1
0
 /// <summary>
 /// Creates a new <seealso cref="AbstractPollingReporter" /> instance.
 /// </summary>
 /// <param name="registry">the <seealso cref="MetricsRegistry" /> containing the metrics this reporter will report
 /// </param>
 /// <param name="name">the reporter's name</param>
 /// <unknown>@see AbstractReporter#AbstractReporter(MetricsRegistry)</unknown>
 protected AbstractPollingReporter(MetricsRegistry registry, string name) : base(registry)
 {
     this.executor = registry.NewScheduledThreadPool(1, name);
 }