Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Callback异步调用需要latch不是很方便 #68

Closed
jimiyi opened this issue Jul 2, 2018 · 1 comment
Closed

Callback异步调用需要latch不是很方便 #68

jimiyi opened this issue Jul 2, 2018 · 1 comment
Labels
support:question Some questions

Comments

@jimiyi
Copy link

jimiyi commented Jul 2, 2018

callback异步调用方式,必须和 final CountDownLatch latch结合使用,否则就会出现
com.alipay.remoting.exception.ConnectionClosedException: Connection closed when invoke with callback.The address is 127.0.0.1:8999
感觉不是很方便,这有什么改进方法么?

@xmtsui
Copy link
Member

xmtsui commented Jul 6, 2018

这个是不是在写单测?通常运行时服务端是常驻的,正常情况不会出现断链。

@xmtsui xmtsui added the support:question Some questions label Jul 6, 2018
@xmtsui xmtsui closed this as completed Jul 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support:question Some questions
Projects
None yet
Development

No branches or pull requests

2 participants