@Deprecated public class GrpcBufferingInterceptor extends Object implements io.grpc.ClientInterceptor
As an additional message is requested by default each time a message is received, setting an initial request amount will allow that number of messages to be "in transit" before the server stops sending more.
|Constructor and Description|
Initialize the interceptor to ask for
|Modifier and Type||Method and Description|
public GrpcBufferingInterceptor(int additionalBuffer)
additionalBufferamount of messages from the server.
additionalBuffer- The number of messages the server may send before waiting for permits to be renewed
Copyright © 2010–2023. All rights reserved.