-
public final class HeapProfilerDomain
-
-
Method Summary
-
-
Method Detail
-
events
final Flow<HeapProfilerEvent> events()
Subscribes to all events related to this domain.
-
addHeapSnapshotChunk
final Flow<HeapProfilerEvent.AddHeapSnapshotChunkEvent> addHeapSnapshotChunk()
-
heapStatsUpdate
final Flow<HeapProfilerEvent.HeapStatsUpdateEvent> heapStatsUpdate()
If heap objects tracking has been started then backend may send update for one or more fragments
-
lastSeenObjectId
final Flow<HeapProfilerEvent.LastSeenObjectIdEvent> lastSeenObjectId()
If heap objects tracking has been started then backend regularly sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event.
-
reportHeapSnapshotProgress
final Flow<HeapProfilerEvent.ReportHeapSnapshotProgressEvent> reportHeapSnapshotProgress()
-
resetProfiles
final Flow<HeapProfilerEvent.ResetProfilesEvent> resetProfiles()
-
addInspectedHeapObject
final Unit addInspectedHeapObject(AddInspectedHeapObjectRequest input)
Enables console to refer to the node with given id via $x (see Command Line API for more details $x functions).
-
collectGarbage
final Unit collectGarbage()
-
getHeapObjectId
final GetHeapObjectIdResponse getHeapObjectId(GetHeapObjectIdRequest input)
-
getObjectByHeapObjectId
final GetObjectByHeapObjectIdResponse getObjectByHeapObjectId(GetObjectByHeapObjectIdRequest input)
-
getSamplingProfile
final GetSamplingProfileResponse getSamplingProfile()
-
startSampling
final Unit startSampling(StartSamplingRequest input)
-
startTrackingHeapObjects
final Unit startTrackingHeapObjects(StartTrackingHeapObjectsRequest input)
-
stopSampling
final StopSamplingResponse stopSampling()
-
stopTrackingHeapObjects
final Unit stopTrackingHeapObjects(StopTrackingHeapObjectsRequest input)
-
takeHeapSnapshot
final Unit takeHeapSnapshot(TakeHeapSnapshotRequest input)
-
-
-
-