|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.0) E13403-08 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CacheSupport
The CacheSupport
is a supplemental interface for cache
support. Cache begin and ends are reference counted, so clients
should be sure to match calls to both, with the endCacheUse()
in a finally
block.
The cache flush is for cases in which clients perform an operation in the data provider which may cause cached results to become invalid. The flush will cause the cache to be cleared regardless of who is using the cache at the moment. Most clients will probably not need to flush the cache explicitly, as the data provider will implicitly flush the cache when all clients end their use of the cache.
Method Summary | |
---|---|
void |
beginCacheUse()
Instructs the data provider to enable the cache support. |
void |
endCacheUse()
Instructs the data provider to release the cache support. |
void |
flushCache()
Instructs the data provider to force a cache flush. |
Method Detail |
---|
void beginCacheUse()
endCacheUse()
when finished to ensure that the cache
can be freed when it is no longer needed.
void endCacheUse()
void flushCache()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.0) E13403-08 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |