Modifier and Type | Method | Description |
---|---|---|
SynchronizationContext |
LoadBalancer.Helper.getSynchronizationContext() |
Returns a
SynchronizationContext that runs tasks in the same Synchronization Context
as that the callback methods on the LoadBalancer interface are run in. |
SynchronizationContext |
NameResolver.Args.getSynchronizationContext() |
Returns the
SynchronizationContext where NameResolver.start(Listener2) , NameResolver.shutdown()
and NameResolver.refresh() are run from. |
SynchronizationContext |
NameResolver.Helper.getSynchronizationContext() |
Deprecated.
Returns the
SynchronizationContext where NameResolver.start(Listener2) , NameResolver.shutdown()
and NameResolver.refresh() are run from. |
Modifier and Type | Method | Description |
---|---|---|
NameResolver.Args.Builder |
NameResolver.Args.Builder.setSynchronizationContext(SynchronizationContext syncContext) |