@InterfaceAudience.Private public class VisibilityLabelServiceManager extends Object
VisibilityLabelService
Modifier and Type | Field and Description |
---|---|
private static VisibilityLabelServiceManager |
INSTANCE |
private static org.apache.commons.logging.Log |
LOG |
static String |
VISIBILITY_LABEL_SERVICE_CLASS |
private VisibilityLabelService |
visibilityLabelService |
private String |
vlsClazzName |
Modifier | Constructor and Description |
---|---|
private |
VisibilityLabelServiceManager() |
Modifier and Type | Method and Description |
---|---|
private void |
checkForClusterLevelSingleConf(String vlsClassName) |
static VisibilityLabelServiceManager |
getInstance() |
VisibilityLabelService |
getVisibilityLabelService() |
VisibilityLabelService |
getVisibilityLabelService(org.apache.hadoop.conf.Configuration conf) |
private static final org.apache.commons.logging.Log LOG
public static final String VISIBILITY_LABEL_SERVICE_CLASS
private static final VisibilityLabelServiceManager INSTANCE
private volatile VisibilityLabelService visibilityLabelService
private String vlsClazzName
public static VisibilityLabelServiceManager getInstance()
public VisibilityLabelService getVisibilityLabelService(org.apache.hadoop.conf.Configuration conf) throws IOException
conf
- VisibilityLabelService
. The FQCN of the implementation
class can be specified using "hbase.regionserver.visibility.label.service.class".IOException
- When VLS implementation, as specified in conf, can not be loaded.private void checkForClusterLevelSingleConf(String vlsClassName)
public VisibilityLabelService getVisibilityLabelService()
VisibilityLabelService
.IllegalStateException
- if this called before initialization of singleton instance.Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.