org.castor.cache.distributed
public final class JCache extends AbstractDistributedCache
Since: 1.0
Version: $Revision: 6230 $ $Date: 2006-04-25 16:09:10 -0600 (Tue, 25 Apr 2006) $
See Also: JSR-107
| Field Summary | |
|---|---|
| static String | IMPLEMENTATION The classname of the implementations factory class. |
| static String | TYPE The type of the cache. |
| Method Summary | |
|---|---|
| String | getType() |
| void | initialize(Properties params) |
| void | initialize(String implementation, Properties params)
Normally called to initialize JCache. |
See Also: getType
See Also: initialize
javax.util.jcs.CacheAccessFactory implementation, it can
also be called with a test implementations classname.
Parameters: implementation Cache implementation classname to initialize. params Parameters to initialize the cache (e.g. name, capacity).
Throws: CacheAcquireException If cache can not be initialized.