|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Title: MUM * Copyright: Copyright (c) 2004 * Date: May 2004 * Description: Mobile agent based Ubiquitous multimedia Middleware * Package: MUM.repository.proxy.cache contains all the classes needed for the implementation of caching enabled proxies * @author Luca Foschini * @version 1.0
Method Summary | |
ICacheWriter |
getCacheWriter()
Returns a cache writer to write the cache |
void |
init(java.io.PrintStream out,
PlaceID placeID,
IMUMBaseFacilities factory,
IPresentationMetadataRepository distributedCachingEntryPoint,
java.lang.Object[] parameters)
Initializes the cache manager. |
MUM.repository.proxy.cache.IMetaDataCache |
isInCache(IMetadata metadata)
Verifies if a presentation is stored in the local cache |
MUM.repository.proxy.cache.IMetaDataCache |
isInCacheNoHit(IMetadata metadata)
Requires if the metadata is present into the local cache. |
void |
putInCache(MUM.repository.proxy.cache.IMetaDataCache metaDataCache)
Put a new element in the list maintained for the singulare cache |
void |
putInCache(MUM.repository.proxy.cache.IMetaDataPrefixCache metaDataPrefixCache)
Put a new element in the list maintained for video prefixes |
Method Detail |
public void init(java.io.PrintStream out, PlaceID placeID, IMUMBaseFacilities factory, IPresentationMetadataRepository distributedCachingEntryPoint, java.lang.Object[] parameters) throws InitializationException
InitializationException
public void putInCache(MUM.repository.proxy.cache.IMetaDataCache metaDataCache)
metaDataCache
- the MetaDataCache maintained locallypublic void putInCache(MUM.repository.proxy.cache.IMetaDataPrefixCache metaDataPrefixCache)
public MUM.repository.proxy.cache.IMetaDataCache isInCache(IMetadata metadata)
metadata
- the metadata you want to save in the current cache
public MUM.repository.proxy.cache.IMetaDataCache isInCacheNoHit(IMetadata metadata)
metadata
- the required metadata
public ICacheWriter getCacheWriter()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |