class HeapProfilerOperations
(source)
HeapProfilerOperations represents HeapProfiler protocol domain request/response operations and events that can be captured.
This API is marked as experimental in protocol definition and can change in the future.
Link
Protocol HeapProfiler domain documentation.
fun addHeapSnapshotChunk(): Flowable<AddHeapSnapshotChunkEvent>
Returns observable capturing all HeapProfiler.addHeapSnapshotChunk events. |
|
fun addHeapSnapshotChunkTimed(): Flowable<Timed<AddHeapSnapshotChunkEvent>>
Returns observable capturing all HeapProfiler.addHeapSnapshotChunk events. |
|
fun addInspectedHeapObject(input: AddInspectedHeapObjectRequest): Single<ResponseFrame>
Enables console to refer to the node with given id via $x (see Command Line API for more details $x functions). |
|
fun collectGarbage(): Single<ResponseFrame> |
|
fun disable(): Single<ResponseFrame> |
|
fun enable(): Single<ResponseFrame> |
|
fun events(): Flowable<Event>
Returns flowable capturing all HeapProfiler domains events. |
|
fun getHeapObjectId(input: GetHeapObjectIdRequest): Single<GetHeapObjectIdResponse> |
|
fun getObjectByHeapObjectId(input: GetObjectByHeapObjectIdRequest): Single<GetObjectByHeapObjectIdResponse> |
|
fun heapStatsUpdate(): Flowable<HeapStatsUpdateEvent>
If heap objects tracking has been started then backend may send update for one or more fragments |
|
fun heapStatsUpdateTimed(): Flowable<Timed<HeapStatsUpdateEvent>>
If heap objects tracking has been started then backend may send update for one or more fragments |
|
fun lastSeenObjectId(): Flowable<LastSeenObjectIdEvent>
If heap objects tracking has been started then backend regulary 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. |
|
fun lastSeenObjectIdTimed(): Flowable<Timed<LastSeenObjectIdEvent>>
If heap objects tracking has been started then backend regulary 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. |
|
fun reportHeapSnapshotProgress(): Flowable<ReportHeapSnapshotProgressEvent>
Returns observable capturing all HeapProfiler.reportHeapSnapshotProgress events. |
|
fun reportHeapSnapshotProgressTimed(): Flowable<Timed<ReportHeapSnapshotProgressEvent>>
Returns observable capturing all HeapProfiler.reportHeapSnapshotProgress events. |
|
fun resetProfiles(): Flowable<Event>
Returns observable capturing all HeapProfiler.resetProfiles events. |
|
fun resetProfilesTimed(): Flowable<Timed<Event>>
Returns observable capturing all HeapProfiler.resetProfiles events. |
|
fun startSampling(input: StartSamplingRequest): Single<ResponseFrame> |
|
fun startTrackingHeapObjects(input: StartTrackingHeapObjectsRequest): Single<ResponseFrame> |
|
fun stopSampling(): Single<StopSamplingResponse> |
|
fun stopTrackingHeapObjects(input: StopTrackingHeapObjectsRequest): Single<ResponseFrame> |
|
fun takeHeapSnapshot(input: TakeHeapSnapshotRequest): Single<ResponseFrame> |