Search in sources :

Example 1 with InMemoryCacheProvider

use of org.gluu.service.cache.InMemoryCacheProvider in project oxCore by GluuFederation.

the class InMemoryCacheProviderTest method beforeClass.

@BeforeClass
public void beforeClass() {
    CacheConfiguration cacheConfiguration = new CacheConfiguration();
    cache = new InMemoryCacheProvider();
    cache.configure(cacheConfiguration);
    cache.create();
}
Also used : InMemoryCacheProvider(org.gluu.service.cache.InMemoryCacheProvider) CacheConfiguration(org.gluu.service.cache.CacheConfiguration) BeforeClass(org.testng.annotations.BeforeClass)

Aggregations

CacheConfiguration (org.gluu.service.cache.CacheConfiguration)1 InMemoryCacheProvider (org.gluu.service.cache.InMemoryCacheProvider)1 BeforeClass (org.testng.annotations.BeforeClass)1