@Immutable public abstract class TagMetadata extends Object
TagMetadata contains properties associated with a Tag.
For now only the property TagMetadata.TagTtl is defined. In future, additional properties may be
added to address specific situations.
| Modifier and Type | Class and Description |
|---|---|
static class |
TagMetadata.TagTtl
TagMetadata.TagTtl is an integer that represents number of hops a tag can propagate. |
| Modifier and Type | Method and Description |
|---|---|
static TagMetadata |
create(TagMetadata.TagTtl tagTtl)
Creates a
TagMetadata with the given TagMetadata.TagTtl. |
abstract TagMetadata.TagTtl |
getTagTtl()
Returns the
TagMetadata.TagTtl of this TagMetadata. |
public static TagMetadata create(TagMetadata.TagTtl tagTtl)
TagMetadata with the given TagMetadata.TagTtl.tagTtl - TTL of a Tag.TagMetadata.public abstract TagMetadata.TagTtl getTagTtl()
TagMetadata.TagTtl of this TagMetadata.TagTtl.