|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.jbo.mom.DefinitionContext oracle.jbo.mom.DefinitionContextStandard oracle.jbo.mom.DefinitionContextAgeable
public class DefinitionContextAgeable
This class provides an implementation of the abstract
DefinitionContext
class in which the MOM cache supports ageing.
In this class (as in its superclass), no state is shared between
the MOM cache and MOM parser functionality, and the latter
is delegated to a MOMParser
provided to the constructor.
(The client can choose MDS vs non-MDS versions
of the MOMParser
).
Field Summary | |
---|---|
static java.lang.String |
USE_OPER_FIND
|
static java.lang.String |
USE_OPER_INSERT
|
static java.lang.String |
USE_OPER_UNRETIRE
|
Fields inherited from class oracle.jbo.mom.DefinitionContextStandard |
---|
mDefObjCount |
Method Summary | |
---|---|
void |
dumpDefObjInfo(DefinitionManager manager,
int index,
java.lang.Object key,
DefinitionObjectInfo defObjInfo,
boolean forUseChain,
java.io.PrintWriter out)
|
void |
objectUseUpdated(DefinitionManager manager,
DefinitionContext defCtx,
java.lang.String oper,
DefinitionObjectInfo defObjInfo)
|
void |
retireLeastRecentlyUsed(int numToRetire)
Retires the specified number of least recently used non-retired ageable metaobjects in the MOM cache. |
boolean |
setDefCachePolicy(int numStronglyHeldUpperLimit,
boolean manageLRU,
boolean unretireRecentlyUsed,
boolean useSoftRef)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String USE_OPER_INSERT
public static final java.lang.String USE_OPER_FIND
public static final java.lang.String USE_OPER_UNRETIRE
Method Detail |
---|
public boolean setDefCachePolicy(int numStronglyHeldUpperLimit, boolean manageLRU, boolean unretireRecentlyUsed, boolean useSoftRef)
public void retireLeastRecentlyUsed(int numToRetire)
DefinitionContext
retireLeastRecentlyUsed
in class DefinitionContext
public void objectUseUpdated(DefinitionManager manager, DefinitionContext defCtx, java.lang.String oper, DefinitionObjectInfo defObjInfo)
objectUseUpdated
in interface DefinitionMgrListener
public void dumpDefObjInfo(DefinitionManager manager, int index, java.lang.Object key, DefinitionObjectInfo defObjInfo, boolean forUseChain, java.io.PrintWriter out)
dumpDefObjInfo
in interface DefinitionMgrListener
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |