class HeapProfilerDomain
(source)
HeapProfilerDomain represents remote debugger protocol domain.
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<ProtocolEvent>
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<ProtocolEvent>
Returns observable capturing all HeapProfiler.resetProfiles events. |
|
fun resetProfilesTimed(): Flowable<Timed<ProtocolEvent>>
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> |