All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.edurt.datacap.client.cli.configure.CacheConfigure Maven / Gradle / Ivy

There is a newer version: 2024.4.0
Show newest version
package io.edurt.datacap.client.cli.configure;

import io.edurt.datacap.client.cli.Support;
import org.springframework.cache.CacheManager;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cache.concurrent.ConcurrentMapCacheManager;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
@EnableCaching
public class CacheConfigure
{
    @Bean
    public CacheManager cacheManager()
    {
        return new ConcurrentMapCacheManager(Support.cache);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy