public class StoreDataBufferIOCommand extends IOCommand
| Modifier and Type | Class and Description |
|---|---|
static class |
StoreDataBufferIOCommand.DataBufferType
Types of raw data buffer to offload to disk (either vertices/edges buffer
in INPUT_SUPERSTEP or incoming message buffer).
|
IOCommand.IOCommandTypenumBytesTransferred, oocEngine, partitionId| Constructor and Description |
|---|
StoreDataBufferIOCommand(OutOfCoreEngine oocEngine,
int partitionId,
StoreDataBufferIOCommand.DataBufferType type)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute()
Execute (load/store of data) the IO command, and change the data stores
appropriately based on the data loaded/stored.
|
IOCommand.IOCommandType |
getType()
Get the type of the command.
|
String |
toString() |
bytesTransferred, getPartitionIdpublic StoreDataBufferIOCommand(OutOfCoreEngine oocEngine, int partitionId, StoreDataBufferIOCommand.DataBufferType type)
oocEngine - out-of-core enginepartitionId - id of the partition to offload its bufferstype - type of the buffer to store on diskpublic boolean execute()
throws IOException
IOCommandexecute in class IOCommandIOExceptionpublic IOCommand.IOCommandType getType()
IOCommandCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.