public class SoftClassCache extends Object implements ClassCache
| Constructor and Description |
|---|
SoftClassCache() |
| Modifier and Type | Method and Description |
|---|---|
org.mozilla.javascript.Script |
getCachedScript(String key)
Return a cached copy of the script, or null if the object is not in the cache.
|
void |
putCachedScript(String key,
org.mozilla.javascript.Script script)
Store the compiled script in the cache.
|
String |
toString() |
public org.mozilla.javascript.Script getCachedScript(String key)
ClassCachegetCachedScript in interface ClassCachepublic void putCachedScript(String key, org.mozilla.javascript.Script script)
ClassCacheputCachedScript in interface ClassCacheCopyright © 2016 Apigee Corporation. All Rights Reserved.