| org.objectweb.speedo.usercache.api.UserCacheManager
UserCacheManager | public interface UserCacheManager (Code) | | Defines a Manager of a set of user caches. It permits to initalizes user
caches. Each user cache is identifier by an int value. The particular '-1'
value represents no user cache.
author: S.Chassande-Barrioz |
activeUserCache | boolean activeUserCache(String cacheName)(Code) | | Initializes the user cache
Parameters: cacheName - is the name of the user cache to initialize indicates if the cache has been initialized correctly |
getActiveUserCache | Collection getActiveUserCache()(Code) | | Retrieves the list of user cache which has been initialized.
a collection of UserCache instance |
getUserCache | UserCache getUserCache(int cacheId)(Code) | | Retrives a user cache
Parameters: cacheId - is the identifier of the asked user cache the user cache instance if found, null otherwise |
getUserCache | UserCache getUserCache(Collection fieldNames)(Code) | | Retrieves the name of the user cache which index is exactly composed
by some field names.
Parameters: fieldNames - is the collection of field names (String). The order ofthe collection is not important here. an user cache name if it has been found, null otherwise. |
userCacheEntryUnbound | void userCacheEntryUnbound(Object oid)(Code) | | An entry of user cache has been unbound from the real cache.
A typical implementation, undinds from active user caches, the entry.
To do this the a persistent object which has
been previously unexported.
Parameters: oid - is the identifier of the persistent object to unbind |
|
|