org.apache.hadoop.hbase
Class CompatibilitySingletonFactory
java.lang.Object
org.apache.hadoop.hbase.CompatibilityFactory
org.apache.hadoop.hbase.CompatibilitySingletonFactory
public class CompatibilitySingletonFactory
- extends CompatibilityFactory
Factory for classes supplied by hadoop compatibility modules. Only one of each class will be
created.
Method Summary |
static
|
getInstance(Class<T> klass)
Get the singleton instance of Any classes defined by compatibiliy jar's |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompatibilitySingletonFactory
protected CompatibilitySingletonFactory()
- This is a static only class don't let anyone create an instance.
getInstance
public static <T> T getInstance(Class<T> klass)
- Get the singleton instance of Any classes defined by compatibiliy jar's
- Returns:
- the singleton
Copyright © 2015 The Apache Software Foundation. All rights reserved.