[JBoss JIRA] (ISPN-2879) Have ResultIterator implement AutoCloseable
by Mircea Markus (JIRA)
[ https://issues.jboss.org/browse/ISPN-2879?page=com.atlassian.jira.plugin.... ]
Mircea Markus commented on ISPN-2879:
-------------------------------------
moving out from 6.0 as we won't baseline on 7.0 in this release.
> Have ResultIterator implement AutoCloseable
> --------------------------------------------
>
> Key: ISPN-2879
> URL: https://issues.jboss.org/browse/ISPN-2879
> Project: Infinispan
> Issue Type: Enhancement
> Components: Querying
> Reporter: Sanne Grinovero
> Assignee: Sanne Grinovero
> Priority: Minor
> Labels: stable_embedded_query
>
> Assuming we'll baseline on Java7, it would be very nice to have the following code valid and changing the default Fetch to LAZY:
> {code}
> Query query = queryBuilder.all().createQuery();
> CacheQuery cacheQuery = searchManager.getQuery(query, Bean.class);
> for (Object object : cacheQuery) {
> ...
> }{code}
> the problem is the implicit iterable opened needs to be closed.
> see also ISPN-2874.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 9 months
[JBoss JIRA] (ISPN-2879) Have ResultIterator implement AutoCloseable
by Mircea Markus (JIRA)
[ https://issues.jboss.org/browse/ISPN-2879?page=com.atlassian.jira.plugin.... ]
Mircea Markus updated ISPN-2879:
--------------------------------
Fix Version/s: (was: 6.0.0.Alpha1)
> Have ResultIterator implement AutoCloseable
> --------------------------------------------
>
> Key: ISPN-2879
> URL: https://issues.jboss.org/browse/ISPN-2879
> Project: Infinispan
> Issue Type: Enhancement
> Components: Querying
> Reporter: Sanne Grinovero
> Assignee: Sanne Grinovero
> Priority: Minor
> Labels: stable_embedded_query
>
> Assuming we'll baseline on Java7, it would be very nice to have the following code valid and changing the default Fetch to LAZY:
> {code}
> Query query = queryBuilder.all().createQuery();
> CacheQuery cacheQuery = searchManager.getQuery(query, Bean.class);
> for (Object object : cacheQuery) {
> ...
> }{code}
> the problem is the implicit iterable opened needs to be closed.
> see also ISPN-2874.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 9 months
[JBoss JIRA] (ISPN-1605) GridFileSystem load file from file system should by suported
by Mircea Markus (JIRA)
[ https://issues.jboss.org/browse/ISPN-1605?page=com.atlassian.jira.plugin.... ]
Mircea Markus updated ISPN-1605:
--------------------------------
Fix Version/s: (was: 6.0.0.Final)
> GridFileSystem load file from file system should by suported
> ---------------------------------------------------------------
>
> Key: ISPN-1605
> URL: https://issues.jboss.org/browse/ISPN-1605
> Project: Infinispan
> Issue Type: Feature Request
> Reporter: Jeffrey Jia
> Assignee: Manik Surtani
> Priority: Minor
>
> Grid file system should load files from file system if not in cache.
> 1. The node which can load file from file system appoint in config file.
> for example: infinispan.xml
> <global>
>
> <hotspot enabled="true" location="/home/Jeffrey/tmp" />
>
> </global>
> the element 'locction' is base path.
> 2. eviction strategy should base on file not individual base on data cache and metadata cache.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 9 months