K
- key typeV
- value typepublic class DataGridChunkedCollectionWriter<K,V> extends ChunkedCollectionWriter<K,V>
ChunkedCollectionWriter
implementation used by a mapper to output chunks of key-value pairs.Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the chunk writer.
|
static DataGridChunkedCollectionWriter |
getGridWriter(DataGridWriterParameters params)
Instantiates a grid writer with the specified
DataGridWriterParameters . |
cleanup, getNumberOfChunks, put
public void close() throws IOException
ChunkedCollectionWriter
close
in interface Closeable
close
in interface AutoCloseable
close
in class ChunkedCollectionWriter<K,V>
IOException
- if an error occurred while writing chunks outpublic static DataGridChunkedCollectionWriter getGridWriter(DataGridWriterParameters params) throws IOException
DataGridWriterParameters
.params
- parameters for this data grid writerDataGridChunkedCollectionWriter
IOException
- If an error occurred while creating the writerCopyright (C) 2007-2014 ScaleOut Software, Inc.