Search in sources :

Example 1 with PropertyStoreNotCached

use of org.ff4j.services.exceptions.PropertyStoreNotCached in project ff4j by ff4j.

the class PropertyStoreServices method clearCachedPropertyStore.

public void clearCachedPropertyStore() {
    FF4jCacheProxy cacheProxy = ff4j.getCacheProxy();
    if (cacheProxy == null) {
        throw new PropertyStoreNotCached();
    }
    cacheProxy.getCacheManager().clearProperties();
}
Also used : FF4jCacheProxy(org.ff4j.cache.FF4jCacheProxy) PropertyStoreNotCached(org.ff4j.services.exceptions.PropertyStoreNotCached)

Aggregations

FF4jCacheProxy (org.ff4j.cache.FF4jCacheProxy)1 PropertyStoreNotCached (org.ff4j.services.exceptions.PropertyStoreNotCached)1