public interface FeatureCacheManager
FeatureStore to enhance performances.| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Remove everything present within cache.
|
void |
evict(String featureId)
Remove a feature from cache by its identifier.
|
Feature |
get(String featureId)
Return feature stored in cache.
|
String |
getCacheProviderName()
Get name of expected cache.
|
Object |
getNativeCache()
Access to embedded implementation of cache.
|
Set<String> |
listCachedFeatureNames()
List feature names in cache.
|
void |
put(Feature feat)
Add feature to cache.
|
void clear()
void evict(String featureId)
featureId - feature identifiervoid put(Feature feat)
feat - target feature to be cachedFeature get(String featureId)
featureId - target feature identifierFeatureNotFoundException as FeatureStore).Set<String> listCachedFeatureNames()
Object getNativeCache()
String getCacheProviderName()
Copyright © 2013–2015 FF4J. All rights reserved.