@InterfaceAudience.Private public class VisibilityLabelServiceManager extends Object
VisibilityLabelService
Modifier and Type | Field and Description |
---|---|
static String |
VISIBILITY_LABEL_SERVICE_CLASS |
Modifier and Type | Method and Description |
---|---|
static VisibilityLabelServiceManager |
getInstance() |
VisibilityLabelService |
getVisibilityLabelService() |
VisibilityLabelService |
getVisibilityLabelService(org.apache.hadoop.conf.Configuration conf) |
public static final String VISIBILITY_LABEL_SERVICE_CLASS
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.public VisibilityLabelService getVisibilityLabelService()
VisibilityLabelService
.IllegalStateException
- if this called before initialization of singleton instance.Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.