@InterfaceAudience.Private public class CompatibilitySingletonFactory extends CompatibilityFactory
Modifier and Type | Class and Description |
---|---|
static class |
CompatibilitySingletonFactory.SingletonStorage |
EXCEPTION_END, EXCEPTION_START
Modifier | Constructor and Description |
---|---|
protected |
CompatibilitySingletonFactory()
This is a static only class don't let anyone create an instance.
|
Modifier and Type | Method and Description |
---|---|
static <T> T |
getInstance(Class<T> klass)
Get the singleton instance of Any classes defined by compatibiliy jar's
|
createExceptionString
protected CompatibilitySingletonFactory()
public static <T> T getInstance(Class<T> klass)
Copyright © 2007–2019 Cloudera. All rights reserved.