public class StandardScopeCache extends Object implements ScopeCache
| Constructor and Description |
|---|
StandardScopeCache() |
| Modifier and Type | Method and Description |
|---|---|
Collection<Object> |
clear()
Clear the cache and return all objects in an unmodifiable collection.
|
Object |
get(String name)
Get the named object from the cache.
|
Object |
put(String name,
Object value)
Put a value in the cache if the key is not already used.
|
Object |
remove(String name)
Remove the object with this name from the cache.
|
public Object remove(String name)
ScopeCacheremove in interface ScopeCachename - the object namepublic Collection<Object> clear()
ScopeCacheclear in interface ScopeCachepublic Object get(String name)
ScopeCacheget in interface ScopeCachename - the name of the objectpublic Object put(String name, Object value)
ScopeCacheput in interface ScopeCachename - the keyvalue - the new candidate valueCopyright © 2018 Pivotal Software, Inc.. All rights reserved.