public class TaskResult extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
RESULT_FAIL |
static String |
RESULT_OK |
| Constructor and Description |
|---|
TaskResult() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBalanceDate() |
long |
getCpuTime() |
Date |
getEndTime() |
long |
getHeapMemory() |
Long |
getId() |
long |
getNonHeapMemory() |
String |
getRemark() |
String |
getResult() |
Date |
getStartTime() |
String |
getTaskNo() |
boolean |
isOk() |
void |
setBalanceDate(String balanceDate) |
void |
setCpuTime(long cpuTime) |
void |
setEndTime(Date endTime) |
void |
setHeapMemory(long heapMemory) |
void |
setId(Long id) |
void |
setNonHeapMemory(long nonHeapMemory) |
void |
setRemark(String remark) |
void |
setResult(String result) |
void |
setStartTime(Date startTime) |
void |
setTaskNo(String taskNo) |
public static final String RESULT_OK
public static final String RESULT_FAIL
public String getBalanceDate()
public void setBalanceDate(String balanceDate)
balanceDate - the balanceDate to setpublic Long getId()
public void setId(Long id)
id - the id to setpublic String getTaskNo()
public void setTaskNo(String taskNo)
taskNo - the taskNo to setpublic String getResult()
public void setResult(String result)
result - the result to setpublic long getHeapMemory()
public void setHeapMemory(long heapMemory)
heapMemory - the heapMemory to setpublic long getNonHeapMemory()
public void setNonHeapMemory(long nonHeapMemory)
nonHeapMemory - the nonHeapMemory to setpublic long getCpuTime()
public void setCpuTime(long cpuTime)
cpuTime - the cpuTime to setpublic Date getStartTime()
public void setStartTime(Date startTime)
startTime - the startTime to setpublic Date getEndTime()
public void setEndTime(Date endTime)
endTime - the endTime to setpublic String getRemark()
public void setRemark(String remark)
remark - the remark to setpublic boolean isOk()
Copyright © 2016. All rights reserved.