aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorzpencer <spencerfang@google.com>2018-09-27 13:19:24 -0700
committerGitHub <noreply@github.com>2018-09-27 13:19:24 -0700
commitda87ffb329f70d907a010dbda0bd655dda8f1cc8 (patch)
tree26ac04bb30b2d015dee69af54ffe54b35a0ec3d9 /core
parent69bb8a37f85fa07be418704ffb25573c133c0a4f (diff)
downloadgrpc-grpc-java-da87ffb329f70d907a010dbda0bd655dda8f1cc8.tar.gz
core,services: v1 binlog (#4846)
Log using new proto definition - Remove io.grpc.BinaryLog.CallId because a call ID is now an AtomicLong - Add the concept of "always included" and "never included" metadata keys. This is needed because grpc-status-details-bin is already logged in the binlog msg, and we will log grpc-trace-bin for the census info. - unit tests are effectively rewritten
Diffstat (limited to 'core')
-rw-r--r--core/src/main/java/io/grpc/BinaryLog.java17
1 files changed, 0 insertions, 17 deletions
diff --git a/core/src/main/java/io/grpc/BinaryLog.java b/core/src/main/java/io/grpc/BinaryLog.java
index 5c2d4ab2f..9d11b63cf 100644
--- a/core/src/main/java/io/grpc/BinaryLog.java
+++ b/core/src/main/java/io/grpc/BinaryLog.java
@@ -29,21 +29,4 @@ public abstract class BinaryLog implements Closeable {
ServerMethodDefinition<ReqT, RespT> oMethodDef);
public abstract Channel wrapChannel(Channel channel);
-
- /**
- * A CallId is two byte[] arrays both of size 8 that uniquely identifies the RPC. Users are
- * free to use the byte arrays however they see fit.
- */
- public static final class CallId {
- public final long hi;
- public final long lo;
-
- /**
- * Creates an instance.
- */
- public CallId(long hi, long lo) {
- this.hi = hi;
- this.lo = lo;
- }
- }
}