|
||||||||||
| 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.JobUsageRecord
public class JobUsageRecord
| Field Summary | |
|---|---|
static String |
TYPE_JOB
|
| Fields inherited from class org.gcube.accounting.datamodel.AbstractDelegateUsageRecord |
|---|
ur |
| Constructor Summary | |
|---|---|
JobUsageRecord()
|
|
JobUsageRecord(UsageRecord ur)
|
|
| Method Summary | |
|---|---|
Integer |
getCores()
|
Long |
getCpuDuration()
in millis |
Long |
getDisk()
in bytes |
Long |
getInputFilesNumber()
|
Long |
getInputFilesSize()
|
Calendar |
getJobEnd()
Return the date when the job ended |
String |
getJobId()
|
String |
getJobName()
|
Calendar |
getJobStart()
Return the date when the job started |
String |
getJobStatus()
|
Long |
getMemory()
in bytes |
Long |
getOutputFilesNumber()
|
Long |
getOutputFilesSize()
|
Long |
getOverallNetworkIn()
Return the overall amount of bytes sent in the VM lifetime |
Long |
getOverallNetworkOut()
Return the overall amount of bytes sent in the VM lifetime |
Integer |
getProcessors()
|
String |
getRefVM()
Return the id of the Virtual Machine |
Long |
getWallDuration()
in millis |
void |
setCores(Integer cores)
|
void |
setCpuDuration(Long duration)
in millis |
void |
setDisk(Long diskUsed)
in bytes |
void |
setInputFilesNumber(Long n)
|
void |
setInputFilesSize(Long s)
|
void |
setJobEnd(Calendar jobEnd)
Set the date when the job ended |
void |
setJobId(String jobId)
|
void |
setJobName(String name)
|
void |
setJobStart(Calendar jobStart)
Set the date when the job started |
void |
setJobStatus(String jobStatus)
|
void |
setMemory(Long memory)
in bytes |
void |
setOutputFilesNumber(Long n)
|
void |
setOutputFilesSize(Long s)
|
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 |
setProcessors(Integer processors)
|
void |
setRefVM(String refVM)
Set the id of the virtual machine |
void |
setWallDuration(Long duration)
in millis |
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_JOB
| Constructor Detail |
|---|
public JobUsageRecord(UsageRecord ur)
public JobUsageRecord()
| Method Detail |
|---|
public String getJobId()
public void setJobId(String jobId)
public String getJobStatus()
public void setJobStatus(String jobStatus)
public Long getWallDuration()
public void setWallDuration(Long duration)
throws InvalidValueException
duration -
InvalidValueExceptionpublic Long getCpuDuration()
public void setCpuDuration(Long duration)
throws InvalidValueException
duration -
InvalidValueException
public void setOverallNetworkIn(Long netIn)
throws InvalidValueException
InvalidValueExceptionpublic Long getOverallNetworkIn()
public void setOverallNetworkOut(Long netOut)
throws InvalidValueException
InvalidValueExceptionpublic Long getOverallNetworkOut()
public String getRefVM()
public void setRefVM(String refVM)
public Long getDisk()
public void setDisk(Long diskUsed)
throws InvalidValueException
duration -
InvalidValueExceptionpublic String getJobName()
public void setJobName(String name)
public Long getMemory()
public void setMemory(Long memory)
throws InvalidValueException
duration -
InvalidValueExceptionpublic Calendar getJobStart()
public Calendar getJobEnd()
public void setJobStart(Calendar jobStart)
throws InvalidValueException
usageStart -
InvalidValueException
public void setJobEnd(Calendar jobEnd)
throws InvalidValueException
usageEnd -
InvalidValueExceptionpublic Integer getProcessors()
public void setProcessors(Integer processors)
throws InvalidValueException
InvalidValueExceptionpublic Integer getCores()
public void setCores(Integer cores)
throws InvalidValueException
InvalidValueExceptionpublic Long getInputFilesNumber()
public void setInputFilesNumber(Long n)
throws InvalidValueException
InvalidValueExceptionpublic Long getInputFilesSize()
public void setInputFilesSize(Long s)
throws InvalidValueException
InvalidValueExceptionpublic Long getOutputFilesNumber()
public void setOutputFilesNumber(Long n)
throws InvalidValueException
InvalidValueExceptionpublic Long getOutputFilesSize()
public void setOutputFilesSize(Long s)
throws InvalidValueException
InvalidValueException
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 | |||||||||