Class LogsServiceGrpc.LogsServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<LogsServiceGrpc.LogsServiceFutureStub>
io.opentelemetry.proto.collector.logs.v1.LogsServiceGrpc.LogsServiceFutureStub
- Enclosing class:
- LogsServiceGrpc
public static final class LogsServiceGrpc.LogsServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<LogsServiceGrpc.LogsServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service LogsService.
Service that can be used to push logs between one Application instrumented with OpenTelemetry and an collector, or between an collector and a central collector (in this case logs are sent/received to/from multiple Applications).
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionprotected LogsServiceGrpc.LogsServiceFutureStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<ExportLogsServiceResponse>export(ExportLogsServiceRequest request) For performance reasons, it is recommended to keep this RPC alive for the entire life of the application.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected LogsServiceGrpc.LogsServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<LogsServiceGrpc.LogsServiceFutureStub>
-
export
public com.google.common.util.concurrent.ListenableFuture<ExportLogsServiceResponse> export(ExportLogsServiceRequest request) For performance reasons, it is recommended to keep this RPC alive for the entire life of the application.
-