示例#1
0
 public MetricMonitorRegistryPollerTest()
 {
     _monitorRegistry             = Substitute.For <IMonitorRegistry>();
     _metricMonitorRegistryPoller = new MetricMonitorRegistryPoller(_monitorRegistry, TimeSpan.FromSeconds(1));
 }
示例#2
0
 /**
  * Creates a new instance based on system properties.
  */
 DefaultMonitorRegistry() //: this(System.getProperties())
 {
     registry = new mynkow();
 }
示例#3
0
 /**
  * Creates a new instance based on system properties.
  */
 DefaultMonitorRegistry() //: this(System.getProperties())
 {
     registry = new mynkow();
 }