public class FixedPartitionsOracle extends Object implements OutOfCoreOracle
OutOfCoreOracle.IOAction
Constructor and Description |
---|
FixedPartitionsOracle(ImmutableClassesGiraphConfiguration conf,
OutOfCoreEngine oocEngine)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
approve(IOCommand command)
Whether a command is appropriate to bring the memory to a more desired
state.
|
void |
commandCompleted(IOCommand command)
Notification of command completion.
|
void |
gcCompleted(com.sun.management.GarbageCollectionNotificationInfo gcInfo)
Notification of GC completion.
|
OutOfCoreOracle.IOAction[] |
getNextIOActions()
Get the next set of viable IO actions to help bring memory to a more
desired state.
|
void |
startIteration()
Called at the beginning of a superstep.
|
public FixedPartitionsOracle(ImmutableClassesGiraphConfiguration conf, OutOfCoreEngine oocEngine)
conf
- configurationoocEngine
- out-of-core enginepublic OutOfCoreOracle.IOAction[] getNextIOActions()
OutOfCoreOracle
getNextIOActions
in interface OutOfCoreOracle
public boolean approve(IOCommand command)
OutOfCoreOracle
approve
in interface OutOfCoreOracle
command
- the IO command that is about to executepublic void commandCompleted(IOCommand command)
OutOfCoreOracle
commandCompleted
in interface OutOfCoreOracle
command
- the IO command that is completedpublic void gcCompleted(com.sun.management.GarbageCollectionNotificationInfo gcInfo)
OutOfCoreOracle
gcCompleted
in interface OutOfCoreOracle
gcInfo
- GC informationpublic void startIteration()
OutOfCoreOracle
startIteration
in interface OutOfCoreOracle
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.