https://github.com/voldemort/voldemort
Revision 8647f823c0a3080da3b3812090ae887e3d34873e authored by Greg Banks on 06 August 2015, 15:30:11 UTC, committed by Felix GV on 11 August 2015, 18:30:03 UTC
Remove most of the members and make them local variables in the map()
function which is the only place that uses them.  This simplifies the
c'tor and means it cannot throw IOException anymore.

It also means we close the Unix file descriptor used to create the
mapping much earlier.  This will help reduce the load on file
descriptors.
1 parent 1eafb88
History
Tip revision: 8647f823c0a3080da3b3812090ae887e3d34873e authored by Greg Banks on 06 August 2015, 15:30:11 UTC
Simplify MappedFileReader, close Unix fd early
Tip revision: 8647f82
File Mode Size
.settings
bin
clients
config
contrib
docs
example
gradle
private-lib
src
test
voldemort-contrib
.gitignore -rw-r--r-- 242 bytes
CONTRIBUTORS -rw-r--r-- 659 bytes
LICENSE -rw-r--r-- 11.1 KB
NOTES -rw-r--r-- 2.5 KB
NOTICE -rw-r--r-- 8.1 KB
README.md -rw-r--r-- 4.4 KB
build.gradle -rw-r--r-- 18.4 KB
build.xml -rw-r--r-- 1.7 KB
gradle.properties -rw-r--r-- 1.2 KB
gradlew -rwxr-xr-x 5.0 KB
gradlew.bat -rw-r--r-- 2.3 KB
release_notes.txt -rw-r--r-- 43.7 KB
settings.gradle -rw-r--r-- 149 bytes
tomcat-tasks.properties -rw-r--r-- 420 bytes
web.xml -rw-r--r-- 1.1 KB

README.md

back to top