| Modifier and Type | Class and Description |
|---|---|
static class |
ServiceCheck.Status |
| Constructor and Description |
|---|
ServiceCheck(String name,
ServiceCheck.Status value,
String... tags)
Create an ServiceCheck value to be sent to DogStatD.
|
| Modifier and Type | Method and Description |
|---|---|
void |
format(CharBuffer chars)
Format the message to be sent.
|
boolean |
validate()
Validate the message to be sent.
|
public ServiceCheck(String name, ServiceCheck.Status value, String... tags)
name - The name of the service.value - The status.tags - Any additional data about the status.public boolean validate()
Validator.nameIsValid(String) to validate the metric name.Validator.fieldIsValid(String) to validate the host.Validator.tagIsValid(String) to validate each tag.public void format(CharBuffer chars)
MessageCopyright © 2016–2018. All rights reserved.