T - the object type that will be cachedpublic class DataCache<T> extends Object
| Constructor and Description |
|---|
DataCache(org.apache.commons.jcs.access.CacheAccess<String,T> cache)
Creates a new generic JCS wrapper.
|
| Modifier and Type | Method and Description |
|---|---|
T |
get(String key)
Gets an object from the cache.
|
void |
put(String key,
T content)
Puts an object into the cache.
|
Copyright © 2012–2020 OWASP. All rights reserved.