Example usage for org.apache.shiro.util Destroyable interface-usage

List of usage examples for org.apache.shiro.util Destroyable interface-usage

Introduction

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

Usage

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

/**
 * ??
 */
public class RedisCacheManager implements CacheManager, Initializable, Destroyable {

    private String keyPrefix = "shiro_cache:";

From source file com.aerospike.shiro.AerospikeSessionDAO.java

public class AerospikeSessionDAO extends CachingSessionDAO implements Destroyable, Initializable {
    // Read from these system properties at init time if they exist
    @SuppressWarnings("serial")
    private static final Map<String, String> PROPERTY_MAP = Collections
            .unmodifiableMap(new HashMap<String, String>() {
                {

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

/**
 * ??
 */
public class RedisCacheManager implements CacheManager, Initializable, Destroyable {

    private String keyPrefix = "shiro_cache:";

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

/**
 * spring-cacheshiro
 * ?
 * @author L.cm
 *
 */

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

/**
 * Shiro {@code CacheManager} implementation utilizing the Infinispan data grid for all cache
 * functionality.
 *
 * This class can {@link #setCacheManager(org.infinispan.manager.EmbeddedCacheManager) accept} a
 * manually configured {@link org.infinispan.manager.DefaultCacheManager DefaultCacheManager}

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

public class GuavaCacheManager implements CacheManager, Initializable, Destroyable {

    protected int cacheSize = 100000;

    protected int expireMinutes = 720;

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

/**
 * Redis ?
 */
public class RedisCacheManager implements CacheManager, Initializable, Destroyable {
    protected String host;
    protected int port;

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

public class ZooKeeperCacheManager implements CacheManager, Initializable, Destroyable {

    private volatile CuratorFramework zkClient;

    protected String servers = "localhost:2181";

From source file com.infinities.skyport.distributed.shiro.DistributedCacheManager.java

public interface DistributedCacheManager extends CacheManager, Initializable, Destroyable {

    public void setCacheManagerConfigFile(String classpathLocation);

    public boolean getSchedulerEnabled();
}

From source file com.leshazlewood.samples.shiro.cassandra.CassandraSessionDAO.java

/**
 * @since 2013-06-09
 */
public class CassandraSessionDAO extends AbstractSessionDAO implements Initializable, Destroyable {

    private static final Logger LOG = LoggerFactory.getLogger(CassandraSessionDAO.class);