public class BufferSpiller extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static Random |
rnd |
protected FileChannel |
spillingChannel |
| Constructor and Description |
|---|
BufferSpiller() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
File |
getSpillFile() |
void |
resetSpillFile() |
void |
spill(org.apache.flink.runtime.io.network.buffer.Buffer buffer)
Dumps the contents of the buffer to disk and recycles the buffer.
|
protected static Random rnd
protected FileChannel spillingChannel
public BufferSpiller()
throws IOException
IOExceptionpublic void spill(org.apache.flink.runtime.io.network.buffer.Buffer buffer)
throws IOException
IOExceptionpublic void close()
throws IOException
IOExceptionpublic void resetSpillFile()
throws IOException
IOExceptionpublic File getSpillFile()
Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.