NewUnboundedBuffer returns a Buffer which buffers "mem" bytes to memory and then creates file's of size "file" to buffer above "mem" bytes.
(mem, file int64)
| 44 | // NewUnboundedBuffer returns a Buffer which buffers "mem" bytes to memory |
| 45 | // and then creates file's of size "file" to buffer above "mem" bytes. |
| 46 | func NewUnboundedBuffer(mem, file int64) Buffer { |
| 47 | return NewMulti(New(mem), NewPartition(NewFilePool(file, os.TempDir()))) |
| 48 | } |
searching dependent graphs…