Package org.apache.hadoop.hbase
Class CompatibilitySingletonFactory
java.lang.Object
org.apache.hadoop.hbase.CompatibilityFactory
org.apache.hadoop.hbase.CompatibilitySingletonFactory
Factory for classes supplied by hadoop compatibility modules. Only one of each class will be
created.
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.CompatibilityFactory
EXCEPTION_END, EXCEPTION_START
-
Constructor Summary
ModifierConstructorDescriptionprotected
This is a static only class don't let anyone create an instance. -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> T
getInstance
(Class<T> klass) Get the singleton instance of Any classes defined by compatibiliy jar'sMethods inherited from class org.apache.hadoop.hbase.CompatibilityFactory
createExceptionString
-
Field Details
-
LOG
-
-
Constructor Details
-
CompatibilitySingletonFactory
protected CompatibilitySingletonFactory()This is a static only class don't let anyone create an instance.
-
-
Method Details
-
getInstance
Get the singleton instance of Any classes defined by compatibiliy jar's- Returns:
- the singleton
-