Example usage for org.apache.shiro.cache Cache interface-usage

List of usage examples for org.apache.shiro.cache Cache interface-usage

Introduction

In this page you can find the example usage for org.apache.shiro.cache Cache interface-usage.

Usage

From source file cn.com.xl.core.shiro.redis.RedisCache.java

/**
 * ?
 */
public class RedisCache<K, V> implements Cache<K, V>, Serializable {

    private static final long serialVersionUID = 4521785299624111291L;

From source file com.bennavetta.appsite.security.MemcacheCache.java

public class MemcacheCache<K, V> implements Cache<K, V> {
    private MemcacheService memcache;

    public MemcacheCache(String name) {
        this.memcache = MemcacheServiceFactory.getMemcacheService(name);
        memcache.setErrorHandler(ErrorHandlers.getConsistentLogAndContinue(Level.WARNING));

From source file com.biu.core.shiro.redis.RedisCache.java

/**
 * ?
 */
public class RedisCache<K, V> implements Cache<K, V>, Serializable {

    private static final long serialVersionUID = 4521785299624111291L;

From source file com.frigga.shiro.cache.ShiroSpringCache.java

/**
 * spring-cacheshiro
 * @author L.cm
 *
 */
@SuppressWarnings("unchecked")

From source file com.github.zbiljic.shiro.cache.infinispan.InfinispanCache.java

/**
 * Shiro {@link org.apache.shiro.cache.Cache} implementation that wraps an {@link
 * org.infinispan.commons.api.BasicCache} instance.
 *
 * @author Nemanja Zbiljic
 */

From source file com.glaf.shiro.cache.guava.GuavaCache.java

public class GuavaCache<K, V> implements org.apache.shiro.cache.Cache<K, V> {

    protected static final ConcurrentMap<Object, Integer> cacheMap = new ConcurrentHashMap<Object, Integer>();

    protected Cache<Object, Object> cache;

From source file com.glaf.shiro.cache.redis.RedisCache.java

/**
 * Redis ?
 * 
 * @author oschina.net
 */
public class RedisCache<K, V> implements org.apache.shiro.cache.Cache<K, V> {

From source file com.glaf.shiro.cache.zookeeper.ZooKeeperCache.java

public class ZooKeeperCache<K, V> implements Cache<K, V> {

    private static final Log logger = LogFactory.getLog(ZooKeeperCache.class);

    private volatile CuratorFramework zkClient;

From source file com.glaf.shiro.redis.RedisCache.java

public class RedisCache<K, V> implements Cache<K, V> {

    private Logger logger = LoggerFactory.getLogger(this.getClass());

    /**
      * The wrapped Jedis instance.

From source file com.glaf.shiro.redis.ShiroRedisCache.java

@SuppressWarnings("unchecked")
public class ShiroRedisCache<K, V> implements Cache<K, V> {
    protected final static Log logger = LogFactory.getLog(ShiroRedisCache.class);
    private String name;
    private Cacheable cacheable;