Package | Description |
---|---|
org.apache.commons.jcs |
Contains the class JCS which provides a simple interface for clients to use
JCS.
|
Modifier and Type | Method and Description |
---|---|
static <K,V> CacheAccess<K,V> |
JCS.defineRegion(String name)
Define a new cache region with the given name.
|
static <K,V> CacheAccess<K,V> |
JCS.defineRegion(String name,
ICompositeCacheAttributes cattr)
Define a new cache region with the specified name and attributes.
|
static <K,V> CacheAccess<K,V> |
JCS.defineRegion(String name,
ICompositeCacheAttributes cattr,
IElementAttributes attr)
Define a new cache region with the specified name and attributes and return a CacheAccess to
it.
|
static <K,V> CacheAccess<K,V> |
JCS.getInstance(String region)
Get a CacheAccess which accesses the provided region.
|
static <K,V> CacheAccess<K,V> |
JCS.getInstance(String region,
ICompositeCacheAttributes icca)
Get a CacheAccess which accesses the provided region.
|
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.