Package org.apache.hadoop.hbase.master

Examples of org.apache.hadoop.hbase.master.MetricsMasterSource


  @Test
  public void testGetInstance() throws Exception {
    MetricsMasterSourceFactory metricsMasterSourceFactory = CompatibilitySingletonFactory
        .getInstance(MetricsMasterSourceFactory.class);
    MetricsMasterSource masterSource = metricsMasterSourceFactory.create(null);
    assertTrue(masterSource instanceof MetricsMasterSourceImpl);
    assertSame(metricsMasterSourceFactory, CompatibilitySingletonFactory.getInstance(MetricsMasterSourceFactory.class));
  }
View Full Code Here

TOP

Related Classes of org.apache.hadoop.hbase.master.MetricsMasterSource

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.