mirror of https://github.com/grpc/grpc-java.git
examples: add missing annotation
This commit is contained in:
parent
d04529256a
commit
c22e04223b
|
|
@ -55,6 +55,7 @@ public class ManualFlowControlServer {
|
|||
// from being processed by the incoming StreamObserver. The onReadyHandler must return in a timely manor or else
|
||||
// message processing throughput will suffer.
|
||||
serverCallStreamObserver.setOnReadyHandler(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
if (serverCallStreamObserver.isReady() && wasReady.compareAndSet(false, true)) {
|
||||
logger.info("READY");
|
||||
|
|
|
|||
Loading…
Reference in New Issue