|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Method Summary | |
boolean |
activeUserCache(java.lang.String cacheName)
Initializes the user cache |
java.util.Collection |
getActiveUserCache()
Retrieves the list of user cache which has been initialized. |
java.lang.String[] |
getIndexededFieldsFromUserCache(int cacheId)
Retrieves the name of the fields used as index in an user cache. |
UserCache |
getUserCache(int cacheId)
Retrives a user cache |
int |
getUserCacheId(java.util.Collection fieldNames)
Retrieves the name of the user cache which index is exactly composed by some field names. |
int[] |
getUserCacheIds()
Retrieves the array of the user cache identifiers |
java.lang.String |
getUserCacheName(int cacheId)
Retrives the name of an user cache from its int identifier. |
void |
userCacheEntryUnbound(java.lang.Object oid)
An entry of user cache has been unbound from the real cache. |
Method Detail |
public boolean activeUserCache(java.lang.String cacheName)
cacheName
- is the name of the user cache to initialize
public java.lang.String getUserCacheName(int cacheId)
cacheId
- the identifier of an user cache
public UserCache getUserCache(int cacheId)
public int[] getUserCacheIds()
public java.lang.String[] getIndexededFieldsFromUserCache(int cacheId)
public int getUserCacheId(java.util.Collection fieldNames)
fieldNames
- is the collection of field names (String). The order of
the collection is not important here.
public java.util.Collection getActiveUserCache()
public void userCacheEntryUnbound(java.lang.Object oid)
oid
- is the identifier of the persistent object to unbind
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |