Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev] CheckIN:Fix bug 180189 Support in memory data set cache.

-          Summary:

CheckIN:Fix bug 180189 Support in memory data set cache.

 

- SCR(s) Resolved:
[180189] Support in memory data set cache.


- Description:
One constant is added to data engine, which is DataEngine. MEMORY_DATA_SET_CACHE is added.

 

To use this new feature, one only need pass appContext to data engine using the above constant as key, and an integer which is greater than zero as value. The cache will base on memory and the max number of rows to be cached is indicated by the positive number passed by appContext.

 

- Regression ( Yes/No ):
No

- Code Owner:
Data Team


- Code Reviewers:
N/A


- Tests:
Unit test


- Tests Automated (Yes/No, if "No"? then explain why):
N/A

- Case Entries Resolved:
N/A


- Branches Involved:
Eclipse CVS.


- Files Added:

"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/IDataSetCacheObject.java"

"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/DiskDataSetCacheObject.java"

"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/MemoryDataSetCacheObject.java"

"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/dscache/CacheUtilFactory.java"

"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/dscache/ISaveUtil.java"

"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/dscache/ILoadUtil.java"

 

"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/golden/DataSetCacheTest.testUseAppContextMemoryCache1.txt"

"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/golden/DataSetCacheTest.testUseAppContextMemoryCache2.txt"

 

-  Files Edited:

"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/PreparedJointDataSourceQuery.java"

"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/dscache/DataSetResultCache.java"

 

"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/CacheMapManager.java"

"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/api/DataEngine.java"

"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/PreparedDataSourceQuery.java"

"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/DataSetCacheManager.java"

"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/api/DataEngineContext.java"

"/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/DataSetCacheUtil.java"

 

"/org.eclipse.birt.data.tests/test/org/eclipse/birt/data/engine/binding/DataSetCacheTest.java"

 

- Files Deleted:


Back to the top