mirror of https://github.com/grpc/grpc-java.git
reframe comments
This commit is contained in:
parent
c7135618ae
commit
ca8e9ede7e
|
@ -201,8 +201,8 @@ final class DelayedClientTransport implements ManagedClientTransport {
|
|||
}
|
||||
|
||||
/**
|
||||
* Prevents creating any new streams. Buffered streams are not failed and may still proceed
|
||||
* when {@link #reprocess} is called. The delayed transport will be terminated when there is no
|
||||
* Prevents creating any new streams. Buffered streams are not failed and may still proceed
|
||||
* when {@link #reprocess} is called. The delayed transport will be terminated when there is no
|
||||
* more buffered streams.
|
||||
*/
|
||||
@Override
|
||||
|
|
|
@ -656,7 +656,7 @@ final class InternalSubchannel implements InternalInstrumented<ChannelStats>, Tr
|
|||
Preconditions.checkState(state.getState() == CONNECTING,
|
||||
"Expected state is CONNECTING, actual state is %s", state.getState());
|
||||
addressIndex.increment();
|
||||
// Continue reconnecting with remaining addresses.
|
||||
// Continue to reconnect if there are still addresses to try.
|
||||
if (!addressIndex.isValid()) {
|
||||
pendingTransport = null;
|
||||
addressIndex.reset();
|
||||
|
|
|
@ -92,7 +92,7 @@ final class PickFirstLeafLoadBalancer extends LoadBalancer {
|
|||
return Status.FAILED_PRECONDITION.withDescription("Already shut down");
|
||||
}
|
||||
|
||||
// Check weather or not this is a petiole policy, which is based off of an address attribute
|
||||
// Check whether this is a petiole policy, which is based off of an address attribute
|
||||
Boolean isPetiolePolicy = resolvedAddresses.getAttributes().get(IS_PETIOLE_POLICY);
|
||||
this.notAPetiolePolicy = isPetiolePolicy == null || !isPetiolePolicy;
|
||||
|
||||
|
|
Loading…
Reference in New Issue