Skip to content

Commit b7a3749

Browse files
committed
chore: ignore convenience functions
1 parent af1414a commit b7a3749

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/main/kotlin/spp/protocol/service/LiveInstrumentService.kt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,27 +54,31 @@ interface LiveInstrumentService {
5454
/**
5555
* Applies the given [LiveBreakpoint].
5656
*/
57+
@GenIgnore
5758
fun addLiveBreakpoint(liveBreakpoint: LiveBreakpoint): Future<LiveBreakpoint> {
5859
return addLiveInstrument(liveBreakpoint).map { it as LiveBreakpoint }
5960
}
6061

6162
/**
6263
* Applies the given [LiveLog].
6364
*/
65+
@GenIgnore
6466
fun addLiveLog(liveLog: LiveLog): Future<LiveLog> {
6567
return addLiveInstrument(liveLog).map { it as LiveLog }
6668
}
6769

6870
/**
6971
* Applies the given [LiveSpan].
7072
*/
73+
@GenIgnore
7174
fun addLiveMeter(liveMeter: LiveMeter): Future<LiveMeter> {
7275
return addLiveInstrument(liveMeter).map { it as LiveMeter }
7376
}
7477

7578
/**
7679
* Applies the given [LiveSpan].
7780
*/
81+
@GenIgnore
7882
fun addLiveSpan(liveSpan: LiveSpan): Future<LiveSpan> {
7983
return addLiveInstrument(liveSpan).map { it as LiveSpan }
8084
}
@@ -105,83 +109,95 @@ interface LiveInstrumentService {
105109
/**
106110
* Gets all [LiveBreakpoint]s.
107111
*/
112+
@GenIgnore
108113
fun getLiveBreakpoints(): Future<List<LiveBreakpoint>> {
109114
return getLiveInstruments(LiveInstrumentType.BREAKPOINT).map { it as List<LiveBreakpoint> }
110115
}
111116

112117
/**
113118
* Gets all [LiveLog]s.
114119
*/
120+
@GenIgnore
115121
fun getLiveLogs(): Future<List<LiveLog>> {
116122
return getLiveInstruments(LiveInstrumentType.LOG).map { it as List<LiveLog> }
117123
}
118124

119125
/**
120126
* Gets all [LiveMeter]s.
121127
*/
128+
@GenIgnore
122129
fun getLiveMeters(): Future<List<LiveMeter>> {
123130
return getLiveInstruments(LiveInstrumentType.METER).map { it as List<LiveMeter> }
124131
}
125132

126133
/**
127134
* Gets all [LiveSpan]s.
128135
*/
136+
@GenIgnore
129137
fun getLiveSpans(): Future<List<LiveSpan>> {
130138
return getLiveInstruments(LiveInstrumentType.SPAN).map { it as List<LiveSpan> }
131139
}
132140

133141
/**
134142
* Removes [LiveBreakpoint]s created by the developer invoking this method.
135143
*/
144+
@GenIgnore
136145
fun clearLiveBreakpoints(): Future<Boolean> {
137146
return clearLiveInstruments(LiveInstrumentType.BREAKPOINT)
138147
}
139148

140149
/**
141150
* Removes [LiveLog]s created by the developer invoking this method.
142151
*/
152+
@GenIgnore
143153
fun clearLiveLogs(): Future<Boolean> {
144154
return clearLiveInstruments(LiveInstrumentType.LOG)
145155
}
146156

147157
/**
148158
* Removes [LiveMeter]s created by the developer invoking this method.
149159
*/
160+
@GenIgnore
150161
fun clearLiveMeters(): Future<Boolean> {
151162
return clearLiveInstruments(LiveInstrumentType.METER)
152163
}
153164

154165
/**
155166
* Removes [LiveSpan]s created by the developer invoking this method.
156167
*/
168+
@GenIgnore
157169
fun clearLiveSpans(): Future<Boolean> {
158170
return clearLiveInstruments(LiveInstrumentType.SPAN)
159171
}
160172

161173
/**
162174
* Removes [LiveBreakpoint]s created by all developers.
163175
*/
176+
@GenIgnore
164177
fun clearAllLiveBreakpoints(): Future<Boolean> {
165178
return clearAllLiveInstruments(LiveInstrumentType.BREAKPOINT)
166179
}
167180

168181
/**
169182
* Removes [LiveLog]s created by all developers.
170183
*/
184+
@GenIgnore
171185
fun clearAllLiveLogs(): Future<Boolean> {
172186
return clearAllLiveInstruments(LiveInstrumentType.LOG)
173187
}
174188

175189
/**
176190
* Removes [LiveMeter]s created by all developers.
177191
*/
192+
@GenIgnore
178193
fun clearAllLiveMeters(): Future<Boolean> {
179194
return clearAllLiveInstruments(LiveInstrumentType.METER)
180195
}
181196

182197
/**
183198
* Removes [LiveSpan]s created by all developers.
184199
*/
200+
@GenIgnore
185201
fun clearAllLiveSpans(): Future<Boolean> {
186202
return clearAllLiveInstruments(LiveInstrumentType.SPAN)
187203
}

0 commit comments

Comments
 (0)