api: fix LoadBalancer javadoc links

This commit is contained in:
ZHANG Dapeng 2019-05-06 11:17:35 -07:00 committed by GitHub
parent 7712ef596c
commit 72553433b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 5 deletions

View File

@ -338,9 +338,8 @@ public abstract class LoadBalancer {
* @param stateInfo the new state
* @since 1.2.0
* @deprecated This method will be removed. Stop overriding it. Instead, pass {@link
* SubchannelStateListener} to {@link Helper#createSubchannel(List, Attributes,
* SubchannelStateListener)} or {@link Helper#createSubchannel(EquivalentAddressGroup,
* Attributes, SubchannelStateListener)} to receive Subchannel state updates
* SubchannelStateListener} to {@link Helper#createSubchannel(CreateSubchannelArgs)}
* to receive Subchannel state updates
*/
@Deprecated
public void handleSubchannelState(
@ -826,8 +825,8 @@ public abstract class LoadBalancer {
/**
* Receives state changes of the created Subchannel. The listener is called from
* the {@link #getSynchronizationContext Synchronization Context}. It's safe to share the
* listener among multiple Subchannels.
* the {@link Helper#getSynchronizationContext Synchronization Context}. It's safe to share
* the listener among multiple Subchannels.
*
* <p>This is a <strong>required</strong> property.
*/