Java 类org.apache.hadoop.hbase.regionserver.MetricsRegionServerSourceFactory 实例源码

项目:ditb    文件:TestMetricsRegionServerSourceFactory.java   
@Test(expected=RuntimeException.class)
public void testGetInstanceNoHadoopCompat() throws Exception {
  //This should throw an exception because there is no compat lib on the class path.
  CompatibilitySingletonFactory.getInstance(MetricsRegionServerSourceFactory.class);

}
项目:pbase    文件:TestMetricsRegionServerSourceFactory.java   
@Test(expected=RuntimeException.class)
public void testGetInstanceNoHadoopCompat() throws Exception {
  //This should throw an exception because there is no compat lib on the class path.
  CompatibilitySingletonFactory.getInstance(MetricsRegionServerSourceFactory.class);

}
项目:HIndex    文件:TestMetricsRegionServerSourceFactory.java   
@Test(expected=RuntimeException.class)
public void testGetInstanceNoHadoopCompat() throws Exception {
  //This should throw an exception because there is no compat lib on the class path.
  CompatibilitySingletonFactory.getInstance(MetricsRegionServerSourceFactory.class);

}
项目:hbase    文件:MetricsIO.java   
public MetricsIO(MetricsIOWrapper wrapper) {
  this(CompatibilitySingletonFactory.getInstance(MetricsRegionServerSourceFactory.class)
          .createIO(wrapper), wrapper);
}
项目:PyroDB    文件:TestMetricsRegionServerSourceFactory.java   
@Test(expected=RuntimeException.class)
public void testGetInstanceNoHadoopCompat() throws Exception {
  //This should throw an exception because there is no compat lib on the class path.
  CompatibilitySingletonFactory.getInstance(MetricsRegionServerSourceFactory.class);

}
项目:c5    文件:TestMetricsRegionServerSourceFactory.java   
@Test(expected=RuntimeException.class)
public void testGetInstanceNoHadoopCompat() throws Exception {
  //This should throw an exception because there is no compat lib on the class path.
  CompatibilitySingletonFactory.getInstance(MetricsRegionServerSourceFactory.class);

}
项目:DominoHBase    文件:TestMetricsRegionServerSourceFactory.java   
@Test(expected=RuntimeException.class)
public void testGetInstanceNoHadoopCompat() throws Exception {
  //This should throw an exception because there is no compat lib on the class path.
  CompatibilitySingletonFactory.getInstance(MetricsRegionServerSourceFactory.class);

}