net.hycube.simulator.WeightSimulatorPointer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hycube-simulator Show documentation
Show all versions of hycube-simulator Show documentation
HyCube Simulator is a container running multiple HyCube node instances, providing an interface for performing operations on individual nodes.
package net.hycube.simulator;
public class WeightSimulatorPointer extends SimulatorPointer {
protected int weight;
protected int maxNumNodes;
protected int numNodes;
public int getWeight() {
return weight;
}
public void setWeight(int weight) {
this.weight = weight;
}
public int getMaxNumNodes() {
return maxNumNodes;
}
public void setMaxNumNodes(int maxNumNodes) {
this.maxNumNodes = maxNumNodes;
}
public int getNumNodes() {
return numNodes;
}
public void setNumNodes(int numNodes) {
this.numNodes = numNodes;
}
public WeightSimulatorPointer(String simId, String simCommandsConnectionUrl, String simMessageConnectionUrl, int weight, int maxNumNodes) {
super(simId, simCommandsConnectionUrl, simMessageConnectionUrl);
this.weight = weight;
this.maxNumNodes = maxNumNodes;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy