Uses of Class
io.grpc.SynchronizationContext
Packages that use SynchronizationContext
Package
Description
The gRPC core public API.
The in-process transport which is for when a server is in the same process as the client.
Interfaces and implementations that are internal to gRPC.
Service definitions and utilities with protobuf dependency for the pre-defined gRPC services.
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 SynchronizationContextModifier and TypeFieldDescriptionprivate SynchronizationContext
NameResolver.Args.Builder.syncContext
private final SynchronizationContext
NameResolver.Args.syncContext
Methods in io.grpc that return SynchronizationContextModifier and TypeMethodDescriptionLoadBalancer.Helper.getSynchronizationContext()
Returns aSynchronizationContext
that runs tasks in the same Synchronization Context as that the callback methods on theLoadBalancer
interface are run in.NameResolver.Args.getSynchronizationContext()
Returns theSynchronizationContext
whereNameResolver.start(Listener2)
,NameResolver.shutdown()
andNameResolver.refresh()
are run from.Methods in io.grpc with parameters of type SynchronizationContextModifier and TypeMethodDescriptionNameResolver.Args.Builder.setSynchronizationContext
(SynchronizationContext syncContext) Constructors in io.grpc with parameters of type SynchronizationContextModifierConstructorDescriptionprivate
Args
(Integer defaultPort, ProxyDetector proxyDetector, SynchronizationContext syncContext, NameResolver.ServiceConfigParser serviceConfigParser, ScheduledExecutorService scheduledExecutorService, ChannelLogger channelLogger, Executor executor, String overrideAuthority) -
Uses of SynchronizationContext in io.grpc.grpclb
Fields in io.grpc.grpclb declared as SynchronizationContextModifier and TypeFieldDescriptionprivate final SynchronizationContext
GrpclbState.IdleSubchannelEntry.syncContext
private final SynchronizationContext
GrpclbState.syncContext
Constructors in io.grpc.grpclb with parameters of type SynchronizationContextModifierConstructorDescription(package private)
IdleSubchannelEntry
(LoadBalancer.Subchannel subchannel, SynchronizationContext syncContext) -
Uses of SynchronizationContext in io.grpc.inprocess
Fields in io.grpc.inprocess declared as SynchronizationContextModifier and TypeFieldDescriptionprivate final SynchronizationContext
InProcessTransport.InProcessStream.InProcessClientStream.syncContext
private final SynchronizationContext
InProcessTransport.InProcessStream.InProcessServerStream.syncContext
-
Uses of SynchronizationContext in io.grpc.internal
Fields in io.grpc.internal declared as SynchronizationContextModifier and TypeFieldDescriptionprivate final SynchronizationContext
BackoffPolicyRetryScheduler.syncContext
private final SynchronizationContext
DelayedClientTransport.syncContext
private final SynchronizationContext
DnsNameResolver.syncContext
private final SynchronizationContext
InternalSubchannel.syncContext
All field must be mutated in the syncContext.(package private) final SynchronizationContext
ManagedChannelImpl.syncContext
private final SynchronizationContext
RetryingNameResolver.syncContext
Methods in io.grpc.internal that return SynchronizationContextConstructors in io.grpc.internal with parameters of type SynchronizationContextModifierConstructorDescription(package private)
BackoffPolicyRetryScheduler
(BackoffPolicy.Provider policyProvider, ScheduledExecutorService scheduledExecutorService, SynchronizationContext syncContext) (package private)
DelayedClientTransport
(Executor defaultAppExecutor, SynchronizationContext syncContext) Creates a new delayed transport.(package private)
InternalSubchannel
(LoadBalancer.CreateSubchannelArgs args, String authority, String userAgent, BackoffPolicy.Provider backoffPolicyProvider, ClientTransportFactory transportFactory, 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, List<ClientTransportFilter> transportFilters) (package private)
OobChannel
(String authority, ObjectPool<? extends Executor> executorPool, ScheduledExecutorService deadlineCancellationExecutor, SynchronizationContext syncContext, CallTracer callsTracer, ChannelTracer channelTracer, InternalChannelz channelz, TimeProvider timeProvider) (package private)
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 SynchronizationContextModifier and TypeFieldDescriptionprivate final SynchronizationContext
HealthCheckingLoadBalancerFactory.HealthCheckState.syncContext
private final SynchronizationContext
HealthCheckingLoadBalancerFactory.HelperImpl.syncContext
Constructors in io.grpc.protobuf.services with parameters of type SynchronizationContextModifierConstructorDescription(package private)
HealthCheckState
(HealthCheckingLoadBalancerFactory.HelperImpl helperImpl, SynchronizationContext syncContext, ScheduledExecutorService timerService, LoadBalancer.SubchannelStateListener healthListener) -
Uses of SynchronizationContext in io.grpc.util
Fields in io.grpc.util declared as SynchronizationContextModifier and TypeFieldDescriptionprivate final SynchronizationContext
OutlierDetectionLoadBalancer.syncContext
Methods in io.grpc.util that return SynchronizationContext