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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.opencensus.tags.TagContext
fromByteArray
(byte[] bytes) byte[]
toByteArray
(io.opencensus.tags.TagContext tags)
-
Field Details
-
tagger
-
-
Constructor Details
-
FakeTagContextBinarySerializer
public FakeTagContextBinarySerializer()
-
-
Method Details
-
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
-