Class AccessLogService.Stub
- java.lang.Object
-
- io.envoyproxy.envoy.service.accesslog.v3.AccessLogService
-
- io.envoyproxy.envoy.service.accesslog.v3.AccessLogService.Stub
-
- All Implemented Interfaces:
com.google.protobuf.Service,AccessLogService.Interface
- Enclosing class:
- AccessLogService
public static final class AccessLogService.Stub extends AccessLogService implements AccessLogService.Interface
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.envoyproxy.envoy.service.accesslog.v3.AccessLogService
AccessLogService.BlockingInterface, AccessLogService.Interface, AccessLogService.Stub
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.protobuf.RpcChannelgetChannel()voidstreamAccessLogs(com.google.protobuf.RpcController controller, StreamAccessLogsMessage request, com.google.protobuf.RpcCallback<StreamAccessLogsResponse> done)Envoy will connect and send StreamAccessLogsMessage messages forever.-
Methods inherited from class io.envoyproxy.envoy.service.accesslog.v3.AccessLogService
callMethod, getDescriptor, getDescriptorForType, getRequestPrototype, getResponsePrototype, newBlockingStub, newReflectiveBlockingService, newReflectiveService, newStub
-
-
-
-
Method Detail
-
getChannel
public com.google.protobuf.RpcChannel getChannel()
-
streamAccessLogs
public void streamAccessLogs(com.google.protobuf.RpcController controller, StreamAccessLogsMessage request, com.google.protobuf.RpcCallback<StreamAccessLogsResponse> done)Description copied from class:AccessLogServiceEnvoy will connect and send StreamAccessLogsMessage messages forever. It does not expect any response to be sent as nothing would be done in the case of failure. The server should disconnect if it expects Envoy to reconnect. In the future we may decide to add a different API for "critical" access logs in which Envoy will buffer access logs for some period of time until it gets an ACK so it could then retry. This API is designed for high throughput with the expectation that it might be lossy.
rpc StreamAccessLogs(stream .envoy.service.accesslog.v3.StreamAccessLogsMessage) returns (.envoy.service.accesslog.v3.StreamAccessLogsResponse);- Specified by:
streamAccessLogsin interfaceAccessLogService.Interface- Specified by:
streamAccessLogsin classAccessLogService
-
-