Searched refs:TagContextBuilder (Results 1 – 13 of 13) sorted by relevance
57 static TagContextBuilder getNoopTagContextBuilder() { in getNoopTagContextBuilder()126 public TagContextBuilder emptyBuilder() { in emptyBuilder()131 public TagContextBuilder toBuilder(TagContext tags) { in toBuilder()137 public TagContextBuilder currentBuilder() { in currentBuilder()149 private static final class NoopTagContextBuilder extends TagContextBuilder {150 static final TagContextBuilder INSTANCE = new NoopTagContextBuilder();153 public TagContextBuilder put(TagKey key, TagValue value) { in put()160 public TagContextBuilder remove(TagKey key) { in remove()
26 public abstract class TagContextBuilder { class36 public abstract TagContextBuilder put(TagKey key, TagValue value); in put()45 public abstract TagContextBuilder remove(TagKey key); in remove()
57 public abstract TagContextBuilder emptyBuilder(); in emptyBuilder()65 public abstract TagContextBuilder toBuilder(TagContext tags); in toBuilder()73 public abstract TagContextBuilder currentBuilder(); in currentBuilder()
22 import io.opencensus.tags.TagContextBuilder;27 final class NoopTagContextBuilder extends TagContextBuilder {33 public TagContextBuilder put(TagKey key, TagValue value) { in put()38 public TagContextBuilder remove(TagKey key) { in remove()
26 import io.opencensus.tags.TagContextBuilder;55 public TagContextBuilder emptyBuilder() { in emptyBuilder()62 public TagContextBuilder currentBuilder() { in currentBuilder()69 public TagContextBuilder toBuilder(TagContext tags) { in toBuilder()
22 import io.opencensus.tags.TagContextBuilder;28 final class TagContextBuilderImpl extends TagContextBuilder {
28 import io.opencensus.tags.TagContextBuilder;75 TagContextBuilder builder = tagger.emptyBuilder(); in emptyBuilder()91 TagContextBuilder builder = tagger.emptyBuilder(); in emptyBuilder_TaggingReenabled()99 TagContextBuilder result = getResultOfCurrentBuilder(tags); in currentBuilder()106 TagContextBuilder currentBuilder = tagger.currentBuilder(); in currentBuilder_DefaultIsEmpty()116 TagContextBuilder result = getResultOfCurrentBuilder(tagContextWithDuplicateTags); in currentBuilder_RemoveDuplicateTags()123 TagContextBuilder result = getResultOfCurrentBuilder(tagContextWithNullTag); in currentBuilder_SkipNullTag()140 TagContextBuilder builder = getResultOfCurrentBuilder(tags); in currentBuilder_TaggingReenabled()145 private TagContextBuilder getResultOfCurrentBuilder(TagContext tagsToSet) { in getResultOfCurrentBuilder()191 TagContextBuilder builder = tagger.toBuilder(tags); in toBuilder_TaggingReenabled()
30 import io.opencensus.tags.TagContextBuilder;89 TagContextBuilder builder = tagger.toBuilder(tags); in put_nullKey()98 TagContextBuilder builder = tagger.toBuilder(tags); in put_nullValue()121 TagContextBuilder builder = tagger.toBuilder(tags); in remove_nullKey()
32 import io.opencensus.tags.TagContextBuilder;175 public TagContextBuilder emptyBuilder() { in emptyBuilder()185 public TagContextBuilder currentBuilder() { in currentBuilder()287 public static class FakeTagContextBuilder extends TagContextBuilder {296 public TagContextBuilder put(TagKey key, TagValue value) {302 public TagContextBuilder remove(TagKey key) {
125 TagContextBuilder noopBuilder = NoopTags.getNoopTagContextBuilder(); in noopTagContextBuilder_Put_DisallowsNullKey()132 TagContextBuilder noopBuilder = NoopTags.getNoopTagContextBuilder(); in noopTagContextBuilder_Put_DisallowsNullValue()139 TagContextBuilder noopBuilder = NoopTags.getNoopTagContextBuilder(); in noopTagContextBuilder_Remove_DisallowsNullKey()
27 import io.opencensus.tags.TagContextBuilder;93 TagContextBuilder builder = tagger.emptyBuilder(); in testSerializeTooLargeTagContext()119 TagContextBuilder builder = tagger.emptyBuilder(); in testSerialize()
23 import io.opencensus.tags.TagContextBuilder;61 TagContextBuilder builder = tagger.emptyBuilder(); in testRoundtrip_TagContextWithMaximumSize()
29 import io.opencensus.tags.TagContextBuilder;78 TagContextBuilder tagContextBuilder = in main()