public static final class NodeAllocationPlan.AssignmentPlan extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static NodeAllocationPlan.AssignmentPlan |
MASTER
The master assignment.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static NodeAllocationPlan.AssignmentPlan |
forWorker(int partitionID,
VirtualNodeID nodeID)
Creates an assignment for a worker node
|
VirtualNodeID |
getNodeID()
The node ID that this assignment was originally on.
|
int |
getPartitionID()
The partition instance info for this assignment
|
VirtualNodeType |
getType()
Returns the node type
|
int |
hashCode() |
String |
toString() |
public static final NodeAllocationPlan.AssignmentPlan MASTER
public static NodeAllocationPlan.AssignmentPlan forWorker(int partitionID, VirtualNodeID nodeID)
partitionInfo
- the partition infonodeID
- the node idhostName
- the host namepublic VirtualNodeID getNodeID()
public final int getPartitionID()
public VirtualNodeType getType()
Copyright © 2024 Actian Corporation. All rights reserved.