Package io.webfolder.cdp.command
Interface HeapProfilerAsync
public interface HeapProfilerAsync
-
Method Summary
Modifier and TypeMethodDescriptionaddInspectedHeapObject
(String heapObjectId) Enables console to refer to the node with given id via (see Command Line API for more details functions).disable()
enable()
getHeapObjectId
(String objectId) getObjectByHeapObjectId
(String objectId) getObjectByHeapObjectId
(String objectId, String objectGroup) startSampling
(Double samplingInterval, Boolean includeObjectsCollectedByMajorGC, Boolean includeObjectsCollectedByMinorGC) startTrackingHeapObjects
(Boolean trackAllocations) stopTrackingHeapObjects
(Boolean reportProgress, Boolean treatGlobalObjectsAsRoots, Boolean captureNumericValue, Boolean exposeInternals) takeHeapSnapshot
(Boolean reportProgress, Boolean treatGlobalObjectsAsRoots, Boolean captureNumericValue, Boolean exposeInternals)
-
Method Details
-
addInspectedHeapObject
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
CompletableFuture<Void> collectGarbage() -
disable
CompletableFuture<Void> disable() -
enable
CompletableFuture<Void> enable() -
getHeapObjectId
-
getObjectByHeapObjectId
-
getObjectByHeapObjectId
-
getSamplingProfile
CompletableFuture<SamplingHeapProfile> getSamplingProfile() -
startSampling
CompletableFuture<Void> startSampling() -
startSampling
CompletableFuture<Void> startSampling(Double samplingInterval, Boolean includeObjectsCollectedByMajorGC, Boolean includeObjectsCollectedByMinorGC) -
startTrackingHeapObjects
CompletableFuture<Void> startTrackingHeapObjects() -
startTrackingHeapObjects
-
stopSampling
CompletableFuture<SamplingHeapProfile> stopSampling() -
stopTrackingHeapObjects
CompletableFuture<Void> stopTrackingHeapObjects() -
stopTrackingHeapObjects
CompletableFuture<Void> stopTrackingHeapObjects(Boolean reportProgress, @Deprecated Boolean treatGlobalObjectsAsRoots, Boolean captureNumericValue, Boolean exposeInternals) -
takeHeapSnapshot
CompletableFuture<Void> takeHeapSnapshot() -
takeHeapSnapshot
CompletableFuture<Void> takeHeapSnapshot(Boolean reportProgress, @Deprecated Boolean treatGlobalObjectsAsRoots, Boolean captureNumericValue, Boolean exposeInternals)
-