/**
* Stop the running calls then stop the server and client channels.
*/
@Override
@TearDown(Level.Trial)
public void teardown() throws Exception {
completed.set(true);
if (!latch.await(5, TimeUnit.SECONDS)) {
logger.warning("Failed to shutdown all calls.");
}
super.teardown();
}
StreamingPingPongsPerSecondBenchmark.java 文件源码
java
阅读 63
收藏 0
点赞 0
评论 0
项目:grpc-java
作者:
评论列表
文章目录