|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.netflix.servo.tag.Tags
public final class Tags
Helper functions for working with tags and tag lists.
| Method Summary | |
|---|---|
static java.lang.String |
intern(java.lang.String v)
Intern strings used for tag keys or values. |
static Tag |
intern(Tag t)
Returns the canonical representation of a tag. |
static Tag |
newTag(java.lang.String key,
java.lang.String value)
Create a new tag instance. |
static Tag |
parseTag(java.lang.String tagString)
Parse a string representing a tag. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.lang.String intern(java.lang.String v)
public static Tag intern(Tag t)
public static Tag newTag(java.lang.String key,
java.lang.String value)
public static Tag parseTag(java.lang.String tagString)
key=value.
Whitespace at the ends of the key and value will be removed. Both the key and value must
have at least one character.
tagString - string with encoded tag
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||