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 SynchronizationContext
NameResolver.Args.Builder. syncContext
private SynchronizationContext
NameResolver.Args. syncContext
Methods in io.grpc that return SynchronizationContext Modifier and Type Method Description SynchronizationContext
LoadBalancer.Helper. getSynchronizationContext()
Returns aSynchronizationContext
that runs tasks in the same Synchronization Context as that the callback methods on theLoadBalancer
interface are run in.SynchronizationContext
NameResolver.Args. getSynchronizationContext()
Returns theSynchronizationContext
whereNameResolver.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.Builder
NameResolver.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 SynchronizationContext
GrpclbState.IdleSubchannelEntry. syncContext
private SynchronizationContext
GrpclbState. syncContext
Constructors 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 SynchronizationContext
InProcessTransport.InProcessStream.InProcessClientStream. syncContext
private SynchronizationContext
InProcessTransport.InProcessStream.InProcessServerStream. syncContext
-
Uses of SynchronizationContext in io.grpc.internal
Fields in io.grpc.internal declared as SynchronizationContext Modifier and Type Field Description private SynchronizationContext
BackoffPolicyRetryScheduler. syncContext
private SynchronizationContext
DelayedClientTransport. syncContext
private SynchronizationContext
DnsNameResolver. syncContext
private SynchronizationContext
InternalSubchannel. syncContext
All field must be mutated in the syncContext.(package private) SynchronizationContext
ManagedChannelImpl. syncContext
private SynchronizationContext
RetryingNameResolver. syncContext
Methods in io.grpc.internal that return SynchronizationContext Modifier and Type Method Description SynchronizationContext
ManagedChannelImpl.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 SynchronizationContext
HealthCheckingLoadBalancerFactory.HealthCheckState. syncContext
private SynchronizationContext
HealthCheckingLoadBalancerFactory.HelperImpl. syncContext
Constructors 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 SynchronizationContext
OutlierDetectionLoadBalancer. syncContext
Methods in io.grpc.util that return SynchronizationContext Modifier and Type Method Description SynchronizationContext
ForwardingLoadBalancerHelper. getSynchronizationContext()
-