Package io.opencensus.implcore.tags
Class CurrentTagMapUtils.WithTagMap
- java.lang.Object
-
- io.opencensus.implcore.tags.CurrentTagMapUtils.WithTagMap
-
- All Implemented Interfaces:
NonThrowingCloseable,Scope,java.io.Closeable,java.lang.AutoCloseable
- Enclosing class:
- CurrentTagMapUtils
private static final class CurrentTagMapUtils.WithTagMap extends java.lang.Object implements Scope
-
-
Field Summary
Fields Modifier and Type Field Description private io.grpc.Contextorig
-
Constructor Summary
Constructors Modifier Constructor Description privateWithTagMap(TagContext tags)Constructs a newCurrentTagMapUtils.WithTagMap.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()
-
-
-
Constructor Detail
-
WithTagMap
private WithTagMap(TagContext tags)
Constructs a newCurrentTagMapUtils.WithTagMap.- Parameters:
tags- theTagContextto be added to the currentContext.
-
-
Method Detail
-
close
public void close()
- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Specified by:
closein interfaceNonThrowingCloseable- Specified by:
closein interfaceScope
-
-