grpc map function 执行
This commit is contained in:
parent
6de583aebc
commit
fe396afe76
@ -54,10 +54,8 @@ public class CollectPackets extends CollectPacketsServerImplBase {
|
|||||||
|
|
||||||
Map<String, Function<Any, Object>> domap = new HashMap();
|
Map<String, Function<Any, Object>> domap = new HashMap();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
System.out.println( Any.pack(ApmBaseDataFlow.newBuilder().build()).getTypeUrl() );
|
System.out.println( Any.pack(ApmBaseDataFlow.newBuilder().build()).getTypeUrl() );
|
||||||
|
System.out.println( AppFlow.class.hashCode() );
|
||||||
|
|
||||||
domap.put(Any.pack(ApmBaseDataFlow.newBuilder().build()).getTypeUrl(), (p)->{
|
domap.put(Any.pack(ApmBaseDataFlow.newBuilder().build()).getTypeUrl(), (p)->{
|
||||||
try {
|
try {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user