Package io.grpc.internal.testing
Class StatsTestUtils.FakeTagContextBinarySerializer
- java.lang.Object
-
- io.opencensus.tags.propagation.TagContextBinarySerializer
-
- io.grpc.internal.testing.StatsTestUtils.FakeTagContextBinarySerializer
-
- Enclosing class:
- StatsTestUtils
public static final class StatsTestUtils.FakeTagContextBinarySerializer extends io.opencensus.tags.propagation.TagContextBinarySerializer
-
-
Field Summary
Fields Modifier and Type Field Description private StatsTestUtils.FakeTagger
tagger
-
Constructor Summary
Constructors Constructor Description FakeTagContextBinarySerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.opencensus.tags.TagContext
fromByteArray(byte[] bytes)
byte[]
toByteArray(io.opencensus.tags.TagContext tags)
-
-
-
Field Detail
-
tagger
private final StatsTestUtils.FakeTagger tagger
-
-
Method Detail
-
fromByteArray
public io.opencensus.tags.TagContext fromByteArray(byte[] bytes) throws io.opencensus.tags.propagation.TagContextDeserializationException
- Specified by:
fromByteArray
in classio.opencensus.tags.propagation.TagContextBinarySerializer
- Throws:
io.opencensus.tags.propagation.TagContextDeserializationException
-
toByteArray
public byte[] toByteArray(io.opencensus.tags.TagContext tags)
- Specified by:
toByteArray
in classio.opencensus.tags.propagation.TagContextBinarySerializer
-
-