Package org.ff4j.core

Examples of org.ff4j.core.FeatureStore


    private final FeatureCacheManager cache = new FeatureCacheProviderEhCache();

    /** {@inheritDoc} */
    @Override
    public FeatureStore initStore() {
        FeatureStore store = new InMemoryFeatureStore("test-ehcacheProvider.xml");
        return new FeatureStoreCacheProxy(store, cache);
    }
View Full Code Here


      
        // Initializing cache manager
        FeatureCacheManager cache = new FeatureCacheProviderRedis();

        // Initializing Features for test
        FeatureStore store = new InMemoryFeatureStore(TEST_FEATURES_FILE);
        Feature fold = store.read(F4);
       
        // Put in Cache
        cache.put(fold);
       
        // Retrieve object
View Full Code Here

TOP

Related Classes of org.ff4j.core.FeatureStore

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.