public class GIPlacementNode extends NodeBase implements GIPlacementProxyOps
| Modifier and Type | Class and Description |
|---|---|
static class |
GIPlacementNode.Migration |
Node.NodeState| Modifier and Type | Field and Description |
|---|---|
static int |
MIGRATE_LEAVEALONE |
static int |
MIGRATE_TASKRATE |
static double |
MIGRATE_THRESH_PCT |
static boolean |
STREAM_SYNC_DELAY |
static int[][] |
USAGE_RING_PARAMS |
static int |
USAGE_UPDATE_MILLIS |
static int |
USAGE_UPDATE_QUICKLY |
| Constructor and Description |
|---|
GIPlacementNode(java.lang.String... args) |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String[] |
getConfigDistr() |
static GIPlacementNode.Migration |
getConfigMigrate() |
static GICompPlacerCmpnt |
getConfigPlacer() |
static ComputationUsage |
getConfigUsage() |
GIPlacementDetails |
getDetails() |
static GIPlacementNode |
getNode() |
GIStreamingTrackerCmpnt |
getStreamingTracker() |
boolean |
joinSystem(NodeDetails inDetails) |
boolean |
leaveSystem(NodeDetails inDetails) |
static void |
main(java.lang.String[] args) |
boolean |
placeComputation(GIComputation inComputation) |
boolean |
updateUsage(NodeDetails inDetails,
ComputationUsage inUsage,
int inMigrTry,
int inMigr) |
enterMultiCommands, getComponent, getName, getState, registerComponent, runCommand, runTask, startNode, stopNode, toString, unregisterComponentgetComponentKey, getComponentLink, hashCode, setComponentKey, startComponent, stopComponentpublic static final int USAGE_UPDATE_MILLIS
public static final int USAGE_UPDATE_QUICKLY
public static final int MIGRATE_TASKRATE
public static final int MIGRATE_LEAVEALONE
public static final double MIGRATE_THRESH_PCT
public static final boolean STREAM_SYNC_DELAY
public static final int[][] USAGE_RING_PARAMS
public static GIPlacementNode getNode()
public static ComputationUsage getConfigUsage()
public static GICompPlacerCmpnt getConfigPlacer()
public static java.lang.String[] getConfigDistr()
public static GIPlacementNode.Migration getConfigMigrate()
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exceptionpublic GIPlacementDetails getDetails()
getDetails in interface NodegetDetails in class NodeBasepublic GIStreamingTrackerCmpnt getStreamingTracker()
public boolean joinSystem(NodeDetails inDetails)
joinSystem in interface GIPlacementProxyOpspublic boolean leaveSystem(NodeDetails inDetails)
leaveSystem in interface GIPlacementProxyOpspublic boolean updateUsage(NodeDetails inDetails, ComputationUsage inUsage, int inMigrTry, int inMigr)
updateUsage in interface GIPlacementProxyOpspublic boolean placeComputation(GIComputation inComputation)
placeComputation in interface GIPlacementProxyOps