Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.5.0)

E10653-06


oracle.jbo.mom
Class DefinitionContextAgeable

java.lang.Object
  extended by oracle.jbo.mom.DefinitionContext
      extended by oracle.jbo.mom.DefinitionContextStandard
          extended by oracle.jbo.mom.DefinitionContextAgeable

All Implemented Interfaces:
DefinitionMgrListener

public class DefinitionContextAgeable
extends DefinitionContextStandard
implements DefinitionMgrListener

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

 

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.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

retireLeastRecentlyUsed

public void retireLeastRecentlyUsed(int numToRetire)
Description copied from class: DefinitionContext
Retires the specified number of least recently used non-retired ageable metaobjects in the MOM cache. If the MOM cache contains fewer non-retired ageable metaobjects than the specified number, then all ageable metaobjects will be retired. This method is a no-op in a subclass which does not support ageing.
Overrides:
retireLeastRecentlyUsed in class DefinitionContext

objectUseUpdated

public void objectUseUpdated(DefinitionManager manager,
                             DefinitionContext defCtx,
                             java.lang.String oper,
                             DefinitionObjectInfo defObjInfo)
Specified by:
objectUseUpdated in interface DefinitionMgrListener

dumpDefObjInfo

public void dumpDefObjInfo(DefinitionManager manager,
                           int index,
                           java.lang.Object key,
                           DefinitionObjectInfo defObjInfo,
                           boolean forUseChain,
                           java.io.PrintWriter out)
Specified by:
dumpDefObjInfo in interface DefinitionMgrListener

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.5.0)

E10653-06


Copyright © 1997, 2011, Oracle. All rights reserved.