Package io.grpc.xds
Class AddressFilter
java.lang.Object
io.grpc.xds.AddressFilter
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final io.grpc.Attributes.Key
<AddressFilter.PathChain> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static List
<io.grpc.EquivalentAddressGroup> Returns the next level hierarchical addresses derived from the given hierarchical addresses with the given filter name (any non-hierarchical addresses in the input will be ignored).(package private) static io.grpc.EquivalentAddressGroup
setPathFilter
(io.grpc.EquivalentAddressGroup address, List<String> names) Returns a new EquivalentAddressGroup by setting a path filter to the given EquivalentAddressGroup.
-
Field Details
-
PATH_CHAIN_KEY
@ResolutionResultAttr private static final io.grpc.Attributes.Key<AddressFilter.PathChain> PATH_CHAIN_KEY
-
-
Constructor Details
-
AddressFilter
private AddressFilter()
-
-
Method Details
-
setPathFilter
static io.grpc.EquivalentAddressGroup setPathFilter(io.grpc.EquivalentAddressGroup address, List<String> names) Returns a new EquivalentAddressGroup by setting a path filter to the given EquivalentAddressGroup. This method does not modify the input address. -
filter
static List<io.grpc.EquivalentAddressGroup> filter(List<io.grpc.EquivalentAddressGroup> addresses, String name) Returns the next level hierarchical addresses derived from the given hierarchical addresses with the given filter name (any non-hierarchical addresses in the input will be ignored). This method does not modify the input addresses.
-