You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apex.apache.org by "Ananth (JIRA)" <ji...@apache.org> on 2017/11/11 11:26:09 UTC

[jira] [Closed] (APEXMALHAR-2474) FSLoader only returns value at the beginning

     [ https://issues.apache.org/jira/browse/APEXMALHAR-2474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ananth closed APEXMALHAR-2474.
------------------------------

> FSLoader only returns value at the beginning
> --------------------------------------------
>
>                 Key: APEXMALHAR-2474
>                 URL: https://issues.apache.org/jira/browse/APEXMALHAR-2474
>             Project: Apache Apex Malhar
>          Issue Type: Sub-task
>            Reporter: Pramod Immaneni
>            Assignee: Oliver Winke
>             Fix For: 3.8.0
>
>
> FSLoader implements Backup store for db CacheManager. In the initial load, it reads all the lines of the file, line by line, and returns a Map of key-value pairs with a key-value pair for every line. It returns data only on the initial load and thereafter it returns null for any key lookup. Also, there is no need to load all the data in the file and return it if the primary cache cannot hold all the entries. These issues need to be addressed and it also helps if the CacheManager supplies meta-information such as how much information should be loaded and returned in the initial load. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)