Search in sources :

Example 1 with MetricsReplicationSource

use of org.apache.hadoop.hbase.replication.regionserver.MetricsReplicationSource in project hbase by apache.

the class TestMetricsReplicationSourceImpl method testGetInstance.

@Test
public void testGetInstance() throws Exception {
    MetricsReplicationSource rms = CompatibilitySingletonFactory.getInstance(MetricsReplicationSource.class);
    assertTrue(rms instanceof MetricsReplicationSourceImpl);
}
Also used : MetricsReplicationSource(org.apache.hadoop.hbase.replication.regionserver.MetricsReplicationSource) MetricsReplicationSourceImpl(org.apache.hadoop.hbase.replication.regionserver.MetricsReplicationSourceImpl) Test(org.junit.Test)

Aggregations

MetricsReplicationSource (org.apache.hadoop.hbase.replication.regionserver.MetricsReplicationSource)1 MetricsReplicationSourceImpl (org.apache.hadoop.hbase.replication.regionserver.MetricsReplicationSourceImpl)1 Test (org.junit.Test)1