Can Apache Commons IO use memory mapping?

another question, by the way, are there more Files classes or more Apache Commons IO classes that generally use Java 7 in development nowadays?

Mar.07,2021

first of all, wherever you deal with a stream, you can use ByteArrayInputStream or ByteArrayOutputStream, that is, the contents of the stream are in memory. Second, as long as you are familiar with the Path classes, you don't want to go back to using File.


you can use the latest version of commons-io 2.6. br > itself depends on JDK 1.7.
means that the underlying layer is NIO, and jvm mmap will be called to handle

when appropriate.

commons-io itself is an easy-to-use package for Java API orthonormal design.
performance is really unbearable. You may need to call NIO api yourself or simply change the language

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b34863-2b46a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b34863-2b46a.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?