| Modifier and Type | Class and Description |
|---|---|
static class |
Event.Alert |
static class |
Event.Priority |
| Constructor and Description |
|---|
Event(String title,
String text,
String... tags)
Create an event 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 boolean validate()
Validator.nameIsValid(String) to validate the metric name.Validator.fieldIsValid(String) to validate the host.Validator.fieldIsValid(String) to validate the key.Validator.fieldIsValid(String) to validate the source.Validator.tagIsValid(String) to validate each tag.public void format(CharBuffer chars)
MessageCopyright © 2016–2018. All rights reserved.