Cache and reuse NIO memory mapped buffers
-----------------------------------------
Key: GEOT-3275
URL: http://jira.codehaus.org/browse/GEOT-3275
Project: GeoTools
Issue Type: Improvement
Components: data shapefile
Affects Versions: 2.7-M3
Reporter: Andrea Aime
Assignee: Andrea Aime
Fix For: 2.7-M4
NIO memory mapped buffers are not meant to be opened and closed repeatedly, but
meant to be used for a long time instead.
Also, they can be created, and then a child for each thread can be used to just
hold the state (position) of the read.
There is a downside on Windows though: a careless developer not disposing the
shapefiles will have the files locked. So roll out a separate option to enable
this kind of caching
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel