Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-04

oracle.jdeveloper.java
Class JavaModel.CacheTracker

java.lang.Object
  extended by oracle.jdeveloper.java.JavaModel.CacheTracker
All Implemented Interfaces:
CacheSupport
Enclosing class:
JavaModel

protected class JavaModel.CacheTracker
extends java.lang.Object
implements CacheSupport

The CacheTracker just helps track where begin/end cache use calls are being made, and to ensure that they are matched properly.


Constructor Summary
protected JavaModel.CacheTracker()
           
 
Method Summary
 void beginCacheUse()
          Instructs the data provider to enable the cache support.
 void endCacheUse()
          Instructs the data provider to release the cache support.
protected  void finalize()
           
 void flushCache()
          Instructs the data provider to force a cache flush.
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaModel.CacheTracker

protected JavaModel.CacheTracker()
Method Detail

beginCacheUse

public void beginCacheUse()
Description copied from interface: CacheSupport
Instructs the data provider to enable the cache support. Since multiple clients may be using the data provider at the same time with cachesupport enabled, each client needs to make sure to call endCacheUse() when finished to ensure that the cache can be freed when it is no longer needed.

Specified by:
beginCacheUse in interface CacheSupport

finalize

protected void finalize()
Overrides:
finalize in class java.lang.Object

endCacheUse

public void endCacheUse()
Description copied from interface: CacheSupport
Instructs the data provider to release the cache support.

Specified by:
endCacheUse in interface CacheSupport

flushCache

public void flushCache()
Description copied from interface: CacheSupport
Instructs the data provider to force a cache flush.

Specified by:
flushCache in interface CacheSupport

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-04

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