Package io.webfolder.cdp.command
Interface HeapProfiler
-
public interface HeapProfiler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddInspectedHeapObject(String heapObjectId)Enables console to refer to the node with given id via (see Command Line API for more details functions).voidcollectGarbage()voiddisable()voidenable()StringgetHeapObjectId(String objectId)RemoteObjectgetObjectByHeapObjectId(String objectId)RemoteObjectgetObjectByHeapObjectId(String objectId, String objectGroup)SamplingHeapProfilegetSamplingProfile()voidstartSampling()voidstartSampling(Double samplingInterval)voidstartTrackingHeapObjects()voidstartTrackingHeapObjects(Boolean trackAllocations)SamplingHeapProfilestopSampling()voidstopTrackingHeapObjects()voidstopTrackingHeapObjects(Boolean reportProgress)voidtakeHeapSnapshot()voidtakeHeapSnapshot(Boolean reportProgress)
-
-
-
Method Detail
-
addInspectedHeapObject
void addInspectedHeapObject(String heapObjectId)
Enables console to refer to the node with given id via (see Command Line API for more details functions).- Parameters:
heapObjectId- Heap snapshot object id to be accessible by means of x command line API.
-
collectGarbage
void collectGarbage()
-
disable
void disable()
-
enable
void enable()
-
getObjectByHeapObjectId
RemoteObject getObjectByHeapObjectId(String objectId, String objectGroup)
-
getSamplingProfile
SamplingHeapProfile getSamplingProfile()
-
startSampling
void startSampling(Double samplingInterval)
-
startTrackingHeapObjects
void startTrackingHeapObjects(Boolean trackAllocations)
-
stopSampling
SamplingHeapProfile stopSampling()
-
stopTrackingHeapObjects
void stopTrackingHeapObjects(Boolean reportProgress)
-
takeHeapSnapshot
void takeHeapSnapshot(Boolean reportProgress)
-
getObjectByHeapObjectId
RemoteObject getObjectByHeapObjectId(String objectId)
-
startSampling
void startSampling()
-
startTrackingHeapObjects
void startTrackingHeapObjects()
-
stopTrackingHeapObjects
void stopTrackingHeapObjects()
-
takeHeapSnapshot
void takeHeapSnapshot()
-
-