Package org.apache.bookkeeper.feature
Interface FeatureProvider
-
- All Known Implementing Classes:
CacheableFeatureProvider
,SettableFeatureProvider
public interface FeatureProvider
Provider to provide features.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Feature
getFeature(java.lang.String name)
Return the feature with given name.FeatureProvider
scope(java.lang.String name)
Provide the feature provider under scope name.
-
-
-
Method Detail
-
getFeature
Feature getFeature(java.lang.String name)
Return the feature with given name.- Parameters:
name
- feature name- Returns:
- feature instance
-
scope
FeatureProvider scope(java.lang.String name)
Provide the feature provider under scope name.- Parameters:
name
- scope name.- Returns:
- feature provider under scope name
-
-