apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Winke (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (APEXMALHAR-2474) FSLoader only returns value at the beginning
Date Thu, 06 Apr 2017 22:02:42 GMT

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

Oliver Winke reassigned APEXMALHAR-2474:
----------------------------------------

    Assignee: Oliver Winke

> 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
>
> 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.3.15#6346)

Mime
View raw message