Example usage for org.apache.commons.jcs JCS getGroupCacheInstance

List of usage examples for org.apache.commons.jcs JCS getGroupCacheInstance

Introduction

In this page you can find the example usage for org.apache.commons.jcs JCS getGroupCacheInstance.

Prototype

public static <K, V> GroupCacheAccess<K, V> getGroupCacheInstance(String region) throws CacheException 

Source Link

Document

Get a GroupCacheAccess which accesses the provided region.

Usage

From source file:org.tinygroup.cache.jcs.JcsCache.java

public void init(String region) {
    try {/*  w  ww .ja va 2  s . co  m*/
        groupCacheAccess = JCS.getGroupCacheInstance(region);
    } catch (Exception e) {
        throw new CacheException(e);
    }
}