-
- All Implemented Interfaces:
-
java.io.Closeable,java.lang.AutoCloseable,org.jetbrains.bio.RomBufferFactory
public class EndianThreadSafeBufferFactory implements RomBufferFactory
The factory creates thread safe buffer which could be used for concurrent
BigFileaccess. Implementations isn't efficient due to large number of temporary stream open/close operations. Buffer opens and closes stream for each buffer duplication, i.e for each data block. It works ok if path points to file on hard disk, but will be extremely slow if file is http url.