Uses of Class
io.grpc.SynchronizationContext
-
Packages that use SynchronizationContext Package Description io.grpc The gRPC core public API.io.grpc.grpclb io.grpc.inprocess The in-process transport which is for when a server is in the same process as the client.io.grpc.internal Interfaces and implementations that are internal to gRPC.io.grpc.protobuf.services Service definitions and utilities with protobuf dependency for the pre-defined gRPC services.io.grpc.util Utilities with advanced features in the core layer that user can optionally use. -
-
Uses of SynchronizationContext in io.grpc
Fields in io.grpc declared as SynchronizationContext Modifier and Type Field Description private SynchronizationContextNameResolver.Args.Builder. syncContextprivate SynchronizationContextNameResolver.Args. syncContextMethods in io.grpc that return SynchronizationContext Modifier and Type Method Description SynchronizationContextLoadBalancer.Helper. getSynchronizationContext()Returns aSynchronizationContextthat runs tasks in the same Synchronization Context as that the callback methods on theLoadBalancerinterface are run in.SynchronizationContextNameResolver.Args. getSynchronizationContext()Returns theSynchronizationContextwhereNameResolver.start(Listener2),NameResolver.shutdown()andNameResolver.refresh()are run from.Methods in io.grpc with parameters of type SynchronizationContext Modifier and Type Method Description NameResolver.Args.BuilderNameResolver.Args.Builder. setSynchronizationContext(SynchronizationContext syncContext)Constructors in io.grpc with parameters of type SynchronizationContext Constructor Description Args(java.lang.Integer defaultPort, ProxyDetector proxyDetector, SynchronizationContext syncContext, NameResolver.ServiceConfigParser serviceConfigParser, java.util.concurrent.ScheduledExecutorService scheduledExecutorService, ChannelLogger channelLogger, java.util.concurrent.Executor executor, java.lang.String overrideAuthority) -
Uses of SynchronizationContext in io.grpc.grpclb
Fields in io.grpc.grpclb declared as SynchronizationContext Modifier and Type Field Description private SynchronizationContextGrpclbState.IdleSubchannelEntry. syncContextprivate SynchronizationContextGrpclbState. syncContextConstructors in io.grpc.grpclb with parameters of type SynchronizationContext Constructor Description IdleSubchannelEntry(LoadBalancer.Subchannel subchannel, SynchronizationContext syncContext) -
Uses of SynchronizationContext in io.grpc.inprocess
Fields in io.grpc.inprocess declared as SynchronizationContext Modifier and Type Field Description private SynchronizationContextInProcessTransport.InProcessStream.InProcessClientStream. syncContextprivate SynchronizationContextInProcessTransport.InProcessStream.InProcessServerStream. syncContext -
Uses of SynchronizationContext in io.grpc.internal
Fields in io.grpc.internal declared as SynchronizationContext Modifier and Type Field Description private SynchronizationContextBackoffPolicyRetryScheduler. syncContextprivate SynchronizationContextDelayedClientTransport. syncContextprivate SynchronizationContextDnsNameResolver. syncContextprivate SynchronizationContextInternalSubchannel. syncContextAll field must be mutated in the syncContext.(package private) SynchronizationContextManagedChannelImpl. syncContextprivate SynchronizationContextRetryingNameResolver. syncContextMethods in io.grpc.internal that return SynchronizationContext Modifier and Type Method Description SynchronizationContextManagedChannelImpl.LbHelperImpl. getSynchronizationContext()Constructors in io.grpc.internal with parameters of type SynchronizationContext Constructor Description BackoffPolicyRetryScheduler(BackoffPolicy.Provider policyProvider, java.util.concurrent.ScheduledExecutorService scheduledExecutorService, SynchronizationContext syncContext)DelayedClientTransport(java.util.concurrent.Executor defaultAppExecutor, SynchronizationContext syncContext)Creates a new delayed transport.InternalSubchannel(LoadBalancer.CreateSubchannelArgs args, java.lang.String authority, java.lang.String userAgent, BackoffPolicy.Provider backoffPolicyProvider, ClientTransportFactory transportFactory, java.util.concurrent.ScheduledExecutorService scheduledExecutor, com.google.common.base.Supplier<com.google.common.base.Stopwatch> stopwatchSupplier, SynchronizationContext syncContext, InternalSubchannel.Callback callback, InternalChannelz channelz, CallTracer callsTracer, ChannelTracer channelTracer, InternalLogId logId, ChannelLogger channelLogger, java.util.List<ClientTransportFilter> transportFilters)OobChannel(java.lang.String authority, ObjectPool<? extends java.util.concurrent.Executor> executorPool, java.util.concurrent.ScheduledExecutorService deadlineCancellationExecutor, SynchronizationContext syncContext, CallTracer callsTracer, ChannelTracer channelTracer, InternalChannelz channelz, TimeProvider timeProvider)RetryingNameResolver(NameResolver retriedNameResolver, RetryScheduler retryScheduler, SynchronizationContext syncContext)Creates a newRetryingNameResolver. -
Uses of SynchronizationContext in io.grpc.protobuf.services
Fields in io.grpc.protobuf.services declared as SynchronizationContext Modifier and Type Field Description private SynchronizationContextHealthCheckingLoadBalancerFactory.HealthCheckState. syncContextprivate SynchronizationContextHealthCheckingLoadBalancerFactory.HelperImpl. syncContextConstructors in io.grpc.protobuf.services with parameters of type SynchronizationContext Constructor Description HealthCheckState(HealthCheckingLoadBalancerFactory.HelperImpl helperImpl, SynchronizationContext syncContext, java.util.concurrent.ScheduledExecutorService timerService, LoadBalancer.SubchannelStateListener healthListener) -
Uses of SynchronizationContext in io.grpc.util
Fields in io.grpc.util declared as SynchronizationContext Modifier and Type Field Description private SynchronizationContextOutlierDetectionLoadBalancer. syncContextMethods in io.grpc.util that return SynchronizationContext Modifier and Type Method Description SynchronizationContextForwardingLoadBalancerHelper. getSynchronizationContext()
-