code: public static <T> ObjectDiskQueue<T> createNew(final File file, final int bufferSize, final boolean direct) throws IOException {
  		return new ObjectDiskQueue<>(ByteDiskQueue.createNew(file,  bufferSize, direct));
  	}
docs: Creates a new disk-based queue of objects.
  
  @param file the file that will be used to dump the queue on disk.
  @param bufferSize the number of items in the circular buffer (will be possibly decreased so to be a power of two).
  @param direct whether the {@link ByteBuffer} used by this queue should be {@linkplain ByteBuffer#allocateDirect(int) allocated directly}.
  @see ByteDiskQueue#createNew(File, int, boolean)