|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.accounting.datamodel.AbstractDelegateUsageRecord
org.gcube.accounting.datamodel.NetworkUsageRecord
public class NetworkUsageRecord
| Field Summary | |
|---|---|
static String |
TYPE_NETWORK
|
| Fields inherited from class org.gcube.accounting.datamodel.AbstractDelegateUsageRecord |
|---|
ur |
| Constructor Summary | |
|---|---|
NetworkUsageRecord()
|
|
NetworkUsageRecord(UsageRecord ur)
|
|
| Method Summary | |
|---|---|
String |
getOverallNetworkIn()
Return the overall amount of bytes sent in the VM lifetime |
String |
getOverallNetworkOut()
Return the overall amount of bytes sent in the VM lifetime |
String |
getPeriodNetworkIn()
Return the amount of bytes received in the period covered by this record |
String |
getPeriodNetworkOut()
Return the amount of bytes sent in the period covered by this record |
String |
getRefVM()
Return a reference to the VM generating network traffic |
void |
setOverallNetworkIn(Long netIn)
Set the overall amount of bytes sent in the VM lifetime |
void |
setOverallNetworkOut(Long netOut)
Set the overall amount of bytes sent in the VM lifetime |
void |
setPeriodNetworkIn(Long netIn)
Set the amount of bytes received in the period covered by this record |
void |
setPeriodNetworkOut(Long netOut)
Set the amount of bytes sent in the period covered by this record |
void |
setRefVM(String refVM)
Set a reference to the VM generating network traffic |
void |
validate()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String TYPE_NETWORK
| Constructor Detail |
|---|
public NetworkUsageRecord(UsageRecord ur)
public NetworkUsageRecord()
| Method Detail |
|---|
public String getPeriodNetworkIn()
public void setPeriodNetworkIn(Long netIn)
throws InvalidValueException
InvalidValueException
public void setPeriodNetworkOut(Long netOut)
throws InvalidValueException
InvalidValueExceptionpublic String getPeriodNetworkOut()
public void setOverallNetworkIn(Long netIn)
throws InvalidValueException
InvalidValueExceptionpublic String getOverallNetworkIn()
public void setOverallNetworkOut(Long netOut)
throws InvalidValueException
InvalidValueExceptionpublic String getOverallNetworkOut()
public String getRefVM()
public void setRefVM(String refVM)
public void validate()
throws InvalidValueException
validate in interface UsageRecordvalidate in class AbstractDelegateUsageRecordInvalidValueException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||