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)
HasBasicSizeinfo
getSizeInfo
in interface HasBasicSizeinfo
sizeof
- Function for deep size calculation, expected to handle NoSize
annotations.public String getDescription()
Described
getDescription
in interface Described
public String getJson()
public long getSize()
Described
getSize
in interface Described
ResourceInfo.sizeDescription()