@@ -54,27 +54,31 @@ interface LiveInstrumentService {
54
54
/* *
55
55
* Applies the given [LiveBreakpoint].
56
56
*/
57
+ @GenIgnore
57
58
fun addLiveBreakpoint (liveBreakpoint : LiveBreakpoint ): Future <LiveBreakpoint > {
58
59
return addLiveInstrument(liveBreakpoint).map { it as LiveBreakpoint }
59
60
}
60
61
61
62
/* *
62
63
* Applies the given [LiveLog].
63
64
*/
65
+ @GenIgnore
64
66
fun addLiveLog (liveLog : LiveLog ): Future <LiveLog > {
65
67
return addLiveInstrument(liveLog).map { it as LiveLog }
66
68
}
67
69
68
70
/* *
69
71
* Applies the given [LiveSpan].
70
72
*/
73
+ @GenIgnore
71
74
fun addLiveMeter (liveMeter : LiveMeter ): Future <LiveMeter > {
72
75
return addLiveInstrument(liveMeter).map { it as LiveMeter }
73
76
}
74
77
75
78
/* *
76
79
* Applies the given [LiveSpan].
77
80
*/
81
+ @GenIgnore
78
82
fun addLiveSpan (liveSpan : LiveSpan ): Future <LiveSpan > {
79
83
return addLiveInstrument(liveSpan).map { it as LiveSpan }
80
84
}
@@ -105,83 +109,95 @@ interface LiveInstrumentService {
105
109
/* *
106
110
* Gets all [LiveBreakpoint]s.
107
111
*/
112
+ @GenIgnore
108
113
fun getLiveBreakpoints (): Future <List <LiveBreakpoint >> {
109
114
return getLiveInstruments(LiveInstrumentType .BREAKPOINT ).map { it as List <LiveBreakpoint > }
110
115
}
111
116
112
117
/* *
113
118
* Gets all [LiveLog]s.
114
119
*/
120
+ @GenIgnore
115
121
fun getLiveLogs (): Future <List <LiveLog >> {
116
122
return getLiveInstruments(LiveInstrumentType .LOG ).map { it as List <LiveLog > }
117
123
}
118
124
119
125
/* *
120
126
* Gets all [LiveMeter]s.
121
127
*/
128
+ @GenIgnore
122
129
fun getLiveMeters (): Future <List <LiveMeter >> {
123
130
return getLiveInstruments(LiveInstrumentType .METER ).map { it as List <LiveMeter > }
124
131
}
125
132
126
133
/* *
127
134
* Gets all [LiveSpan]s.
128
135
*/
136
+ @GenIgnore
129
137
fun getLiveSpans (): Future <List <LiveSpan >> {
130
138
return getLiveInstruments(LiveInstrumentType .SPAN ).map { it as List <LiveSpan > }
131
139
}
132
140
133
141
/* *
134
142
* Removes [LiveBreakpoint]s created by the developer invoking this method.
135
143
*/
144
+ @GenIgnore
136
145
fun clearLiveBreakpoints (): Future <Boolean > {
137
146
return clearLiveInstruments(LiveInstrumentType .BREAKPOINT )
138
147
}
139
148
140
149
/* *
141
150
* Removes [LiveLog]s created by the developer invoking this method.
142
151
*/
152
+ @GenIgnore
143
153
fun clearLiveLogs (): Future <Boolean > {
144
154
return clearLiveInstruments(LiveInstrumentType .LOG )
145
155
}
146
156
147
157
/* *
148
158
* Removes [LiveMeter]s created by the developer invoking this method.
149
159
*/
160
+ @GenIgnore
150
161
fun clearLiveMeters (): Future <Boolean > {
151
162
return clearLiveInstruments(LiveInstrumentType .METER )
152
163
}
153
164
154
165
/* *
155
166
* Removes [LiveSpan]s created by the developer invoking this method.
156
167
*/
168
+ @GenIgnore
157
169
fun clearLiveSpans (): Future <Boolean > {
158
170
return clearLiveInstruments(LiveInstrumentType .SPAN )
159
171
}
160
172
161
173
/* *
162
174
* Removes [LiveBreakpoint]s created by all developers.
163
175
*/
176
+ @GenIgnore
164
177
fun clearAllLiveBreakpoints (): Future <Boolean > {
165
178
return clearAllLiveInstruments(LiveInstrumentType .BREAKPOINT )
166
179
}
167
180
168
181
/* *
169
182
* Removes [LiveLog]s created by all developers.
170
183
*/
184
+ @GenIgnore
171
185
fun clearAllLiveLogs (): Future <Boolean > {
172
186
return clearAllLiveInstruments(LiveInstrumentType .LOG )
173
187
}
174
188
175
189
/* *
176
190
* Removes [LiveMeter]s created by all developers.
177
191
*/
192
+ @GenIgnore
178
193
fun clearAllLiveMeters (): Future <Boolean > {
179
194
return clearAllLiveInstruments(LiveInstrumentType .METER )
180
195
}
181
196
182
197
/* *
183
198
* Removes [LiveSpan]s created by all developers.
184
199
*/
200
+ @GenIgnore
185
201
fun clearAllLiveSpans (): Future <Boolean > {
186
202
return clearAllLiveInstruments(LiveInstrumentType .SPAN )
187
203
}
0 commit comments