|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ICachedStorage
The ICachedStorage extends the IStorage with meta data caching
features. The meta data of storages doesn't change in production mode, so we will
use a caching mechanism.
| Method Summary | |
|---|---|
MetaData |
getMetaData(java.lang.String pGroup,
java.lang.String pName)
Returns the meta data for this AbstractStorage from the storage as MetaData and places
the MetaData to the cache with a group name and meta data name. |
java.util.Hashtable<java.lang.String,MetaData> |
getMetaDataFromCache(java.lang.String pGroup)
Returns all available meta data from the cache for a specific cache group. |
| Methods inherited from interface javax.rad.persist.IStorage |
|---|
delete, fetch, getEstimatedRowCount, getMetaData, insert, refetchRow, update |
| Method Detail |
|---|
MetaData getMetaData(java.lang.String pGroup,
java.lang.String pName)
throws DataSourceException
MetaData and places
the MetaData to the cache with a group name and meta data name.
pGroup - the cache group namepName - the name for the meta data in the cache group
MetaData.
DataSourceException - if an Exception occur during getting the meta data from the storagejava.util.Hashtable<java.lang.String,MetaData> getMetaDataFromCache(java.lang.String pGroup)
pGroup - the cache group name
Hashtable with the name of the meta data in the cache group and the meta data as value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||