public class LoadPartitionIOCommand extends IOCommand
IOCommand.IOCommandType
numBytesTransferred, oocEngine, partitionId
Constructor and Description |
---|
LoadPartitionIOCommand(OutOfCoreEngine oocEngine,
int partitionId,
long superstep)
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, getPartitionId
public LoadPartitionIOCommand(OutOfCoreEngine oocEngine, int partitionId, long superstep)
oocEngine
- out-of-core enginepartitionId
- id of the partition to be loadedsuperstep
- superstep to load the partition forpublic boolean execute() throws IOException
IOCommand
execute
in class IOCommand
IOException
public IOCommand.IOCommandType getType()
IOCommand
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.