org.inria.myriads.snoozecommon.communication.virtualcluster.monitoring
public final class NetworkDemand extends Object implements Serializable
Constructor and Description |
---|
NetworkDemand()
Empty constructor.
|
NetworkDemand(double rxBytes,
double txBytes)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
getRxBytes()
Returns the Rx bytes.
|
double |
getTxBytes()
Returns the Tx bytes.
|
void |
setRxBytes(double rxBytes)
Sets the Rx bytes.
|
void |
setTxBytes(double txBytes)
Sets the Tx bytes.
|
public NetworkDemand()
public NetworkDemand(double rxBytes, double txBytes)
rxBytes
- The number of rxbytestxBytes
- The number of txBytespublic void setRxBytes(double rxBytes)
rxBytes
- The Rx bytespublic void setTxBytes(double txBytes)
txBytes
- The Tx bytespublic double getRxBytes()
public double getTxBytes()
Copyright © 2013. All Rights Reserved.