|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.objectweb.speedo.usercache.lib.CompositeUserCache
| Constructor Summary | |
|---|---|
CompositeUserCache(UserCache[] inner)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
bind(java.lang.Object key,
java.lang.Object oid)
Adds an entry into user cache. |
int |
getId()
|
java.lang.String[] |
getIndexFieldNames()
|
java.lang.String |
getName()
|
boolean |
isActive()
|
java.lang.Object |
lookup(java.lang.Object key)
Look for an identifier of persistent instance from an user key |
java.lang.Object |
unbindFromKey(java.lang.Object key)
Forces the eviction of an entry from an user key |
java.lang.Object |
unbindFromOID(java.lang.Object oid)
Forces the eviction of an entry from an object identifier |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CompositeUserCache(UserCache[] inner)
| Method Detail |
public java.lang.Object bind(java.lang.Object key,
java.lang.Object oid)
UserCache
bind in interface UserCachekey - is the user key the user of the persistent instance (not null)oid - is the identifier of the persistent instance (not null)
public int getId()
getId in interface UserCachepublic java.lang.String[] getIndexFieldNames()
getIndexFieldNames in interface UserCachepublic java.lang.String getName()
getName in interface UserCachepublic boolean isActive()
isActive in interface UserCachepublic java.lang.Object lookup(java.lang.Object key)
UserCache
lookup in interface UserCachekey - is the user key of the searched persistent instance (not null)
public java.lang.Object unbindFromKey(java.lang.Object key)
UserCache
unbindFromKey in interface UserCachekey - is the user key of a persistent instance (not null)
public java.lang.Object unbindFromOID(java.lang.Object oid)
UserCache
unbindFromOID in interface UserCacheoid - is the identifier of a persistent instance (not null)
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||