Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions api/src/main/java/io/grpc/EquivalentAddressGroup.java
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,6 @@ public final class EquivalentAddressGroup {
@Attr
static final Attributes.Key<Long> ATTR_WEIGHT =
Attributes.Key.create("io.grpc.EquivalentAddressGroup.ATTR_WEIGHT");
/**
* Name associated with individual address, if available (e.g., DNS name).
*/
@Attr
static final Attributes.Key<String> ATTR_ADDRESS_NAME =
Attributes.Key.create("io.grpc.EquivalentAddressGroup.ATTR_ADDRESS_NAME");

private final List<SocketAddress> addrs;
private final Attributes attrs;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ private InternalEquivalentAddressGroup() {}
/**
* Name associated with individual address, if available (e.g., DNS name).
*/
@EquivalentAddressGroup.Attr
public static final Attributes.Key<String> ATTR_ADDRESS_NAME =
EquivalentAddressGroup.ATTR_ADDRESS_NAME;
Attributes.Key.create("io.grpc.InternalEquivalentAddressGroup.ATTR_ADDRESS_NAME");
}
Loading