public static ByteArrayDiskQueue createNew ( final File file , final int bufferSize , final boolean direct ) throws IOException { return new ByteArrayDiskQueue ( ByteDiskQueue . createNew ( file , bufferSize , direct ) ) ; }
Creates a new disk - based queue of byte arrays .