GitHub user oliverwnk opened a pull request:
https://github.com/apache/apex-malhar/pull/605
APEXMALHAR-2473 Support for global cache meta information in db Cacheâ¦
â¦Manager
1. Uses Component interface and newly implemented CacheContext to pass
properties to the Stores by calling setup(CacheContext).
2. APEXMALHAR-2474: FSLoader implements Component to get
numInitLinesToCache from CacheManager and use it in initial load.
Add implementation of get() function so data will also be loaded after
initial load.
3. APEXMALHAR-2475: CacheStore implements Component for passing readOnly
and numInitLinesToCache.
Added NO_EVICTION expire strategy. This strategy will be set in
setup(CacheContext) if readOnly is true.
@PramodSSImmaneni: please review
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/oliverwnk/apex-malhar
APEXMALHAR-2473.cache-meta-info-support-in-CacheManager
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/apex-malhar/pull/605.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #605
----
commit 948fc9d85be95315a293aabddbce026943ae03d5
Author: Oliver Winke <[email protected]>
Date: 2017-04-17T18:27:01Z
APEXMALHAR-2473 Support for global cache meta information in db CacheManager
1. Uses Component interface and newly implemented CacheContext to pass
properties to the Stores by calling setup(CacheContext).
2. APEXMALHAR-2474: FSLoader implements Component to get
numInitLinesToCache from CacheManager and use it in initial load.
Add implementation of get() function so data will also be loaded after
initial load.
3. APEXMALHAR-2475: CacheStore implements Component for passing readOnly
and numInitLinesToCache.
Added NO_EVICTION expire strategy. This strategy will be set in
setup(CacheContext) if readOnly is true.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---