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.
  • Field Details

    • LOG

      private static final org.slf4j.Logger LOG
  • Constructor Details

  • Method Details

    • getInstance

      public static <T> T getInstance(Class<T> klass)
      Get the singleton instance of Any classes defined by compatibiliy jar's
      Returns:
      the singleton