Package org.apache.bookkeeper.feature
Class SettableFeatureProvider
- java.lang.Object
-
- org.apache.bookkeeper.feature.CacheableFeatureProvider<SettableFeature>
-
- org.apache.bookkeeper.feature.SettableFeatureProvider
-
- All Implemented Interfaces:
FeatureProvider
public class SettableFeatureProvider extends CacheableFeatureProvider<SettableFeature>
A provider will provide settable features.
-
-
Field Summary
Fields Modifier and Type Field Description protected int
availability
static FeatureProvider
DISABLE_ALL
-
Fields inherited from class org.apache.bookkeeper.feature.CacheableFeatureProvider
features, scope, scopes
-
-
Constructor Summary
Constructors Constructor Description SettableFeatureProvider(java.lang.String scope, int availability)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SettableFeature
makeFeature(java.lang.String featureName)
protected FeatureProvider
makeProvider(java.lang.String fullScopeName)
-
Methods inherited from class org.apache.bookkeeper.feature.CacheableFeatureProvider
getFeature, makeName, scope
-
-
-
-
Field Detail
-
DISABLE_ALL
public static final FeatureProvider DISABLE_ALL
-
availability
protected final int availability
-
-
Method Detail
-
makeFeature
protected SettableFeature makeFeature(java.lang.String featureName)
- Specified by:
makeFeature
in classCacheableFeatureProvider<SettableFeature>
-
makeProvider
protected FeatureProvider makeProvider(java.lang.String fullScopeName)
- Specified by:
makeProvider
in classCacheableFeatureProvider<SettableFeature>
-
-