public abstract class CacheManager<V> extends Object
| Constructor and Description |
|---|
CacheManager() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
clear()
Clear the whole cache for all instances.
|
abstract void |
clear(String schemaName)
Clear the cache for a particular schema
|
abstract V |
get(Bean.BeanId id)
Returns the configurable associated with BeanId in this cache.
|
abstract List<V> |
get(String schemaName)
Returns the configurable associated with schemaName in this cache.
|
abstract void |
put(Bean configurable)
Associates configurable with BeanId in this cache.
|
abstract void |
registerSchema(Schema schema)
Register a know schema with the cache.
|
abstract void |
remove(Bean.BeanId beanId)
Remove a certain bean from the cache.
|
public abstract void registerSchema(Schema schema)
schema - a known schemapublic abstract V get(Bean.BeanId id)
id - BeanId that identifies the configurable.public abstract List<V> get(String schemaName)
schemaName - name that identifies as certain type of configurable.public abstract void put(Bean configurable)
configurable - BeanId that identifies the configurablepublic abstract void remove(Bean.BeanId beanId)
beanId - id of bean to removepublic abstract void clear(String schemaName)
schemaName - schema to clearpublic abstract void clear()
Copyright © 2013. All Rights Reserved.