Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
IHostHealthAgent
public interface IHostHealthAgent
com.android.tradefed.util.hostmetric.IHostHealthAgent |
Interfejs do emitowania metryk hosta lub urządzenia.
Streszczenie
Metody publiczne |
---|
abstract void | emitValue (String name, long value, data) emitValue (String name, long value, data) Emituje wartość nazwy metryki. |
abstract void | flush () Opróżnia metryki z kolejki. |
Metody publiczne
emitujWartość
public abstract void emitValue (String name,
long value,
data)
Emituje wartość nazwy metryki. Wartość jest umieszczana w kolejce i przekazywana po IHostHealthAgent#flush
.
Parametry |
---|
name | String : nazwa metryki |
value | long : wartość metryczna |
data | : dane powiązane z wartością metryki |
spłukać
public abstract void flush ()
Opróżnia metryki z kolejki.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2022-08-15 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Brak potrzebnych mi informacji"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Zbyt skomplikowane / zbyt wiele czynności do wykonania"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Nieaktualne treści"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Problem z tłumaczeniem"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Problem z przykładami/kodem"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Inne"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Łatwo zrozumieć"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Rozwiązało to mój problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Inne"
}]