public class ProfRes extends Object implements Described, HasBasicSizeinfo
| Constructor and Description |
|---|
ProfRes(String description,
long time,
String profres,
long dataPoints)
Construct.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Human readable description of the instance.
|
String |
getJson()
Return JSON content.
|
long |
getSize()
Size of the represented resource.
|
SizeInfoDto |
getSizeInfo(Function<Object,Long> sizeof)
Invoke size calculation.
|
long |
getTime()
Init/load/prepare time of the represented resource.
|
public SizeInfoDto getSizeInfo(Function<Object,Long> sizeof)
HasBasicSizeinfogetSizeInfo in interface HasBasicSizeinfosizeof - Function for deep size calculation, expected to handle NoSize annotations.public String getDescription()
DescribedgetDescription in interface Describedpublic String getJson()
public long getSize()
DescribedgetSize in interface DescribedResourceInfo.sizeDescription()