Example usage for org.springframework.cache.concurrent ConcurrentMapCache subclass-usage

List of usage examples for org.springframework.cache.concurrent ConcurrentMapCache subclass-usage

Introduction

In this page you can find the example usage for org.springframework.cache.concurrent ConcurrentMapCache subclass-usage.

Usage

From source file grails.plugin.cache.GrailsConcurrentMapCache.java

/**
 * Extends the default implementation to return GrailsValueWrapper instances instead of
 * SimpleValueWrapper. This isn't useful for this implementation but is for others where
 * the native wrapper has more useful information that would otherwise be lost (for example
 * the TTL in the Ehcache Element class). This implementation exists so that all caches
 * consistently return a GrailsValueWrapper.

From source file grails.plugin.cache.web.filter.simple.MemoryBlockingCache.java

/**
 * In-memory-based implementation of BlockingCache.
 *
 * @author Burt Beckwith
 */
public class MemoryBlockingCache extends ConcurrentMapCache implements BlockingCache {

From source file org.hsweb.concureent.cache.monitor.SimpleMonitorCache.java

public class SimpleMonitorCache extends ConcurrentMapCache implements MonitorCache {

    private final AtomicInteger totalTimes = new AtomicInteger(0);
    private final AtomicInteger hitTimes = new AtomicInteger(0);
    private final AtomicInteger putTimes = new AtomicInteger(0);