Modifier and Type | Field | Description |
---|---|---|
static Attributes |
Attributes.EMPTY |
Modifier and Type | Method | Description |
---|---|---|
Attributes |
Attributes.Builder.build() |
Build the attributes.
|
Attributes |
ClientCall.getAttributes() |
Returns additional properties of the call.
|
Attributes |
EquivalentAddressGroup.getAttributes() |
Returns the attributes.
|
Attributes |
LoadBalancer.CreateSubchannelArgs.getAttributes() |
Returns the attributes.
|
Attributes |
LoadBalancer.ResolvedAddresses.getAttributes() |
Gets the attributes associated with these addresses.
|
abstract Attributes |
LoadBalancer.Subchannel.getAttributes() |
The same attributes passed to
Helper.createSubchannel() . |
Attributes |
NameResolver.ResolutionResult.getAttributes() |
Gets the attributes associated with the addresses resolved by name resolution.
|
Attributes |
ServerCall.getAttributes() |
Returns properties of a single call.
|
abstract Attributes |
ServerStreamTracer.ServerCallInfo.getAttributes() |
|
abstract Attributes |
CallCredentials.RequestInfo.getTransportAttrs() |
Returns the transport attributes.
|
Attributes |
ClientStreamTracer.StreamInfo.getTransportAttrs() |
Returns the attributes of the transport that this stream was created on.
|
Attributes |
ServerTransportFilter.transportReady(Attributes transportAttrs) |
Called when a transport is ready to process streams.
|
Modifier and Type | Method | Description |
---|---|---|
LoadBalancer.Subchannel |
LoadBalancer.Helper.createSubchannel(EquivalentAddressGroup addrs,
Attributes attrs) |
Deprecated.
|
LoadBalancer.Subchannel |
LoadBalancer.Helper.createSubchannel(java.util.List<EquivalentAddressGroup> addrs,
Attributes attrs) |
Deprecated.
|
void |
LoadBalancer.handleResolvedAddressGroups(java.util.List<EquivalentAddressGroup> servers,
Attributes attributes) |
Deprecated.
override
instead |
static Attributes.Builder |
Attributes.newBuilder(Attributes base) |
Deprecated.
Use
toBuilder() on the Attributes instance instead. |
NameResolver |
NameResolver.Factory.newNameResolver(java.net.URI targetUri,
Attributes params) |
Deprecated.
Implement
NameResolver.Factory.newNameResolver(URI, NameResolver.Helper) instead. |
void |
NameResolver.Listener.onAddresses(java.util.List<EquivalentAddressGroup> servers,
Attributes attributes) |
Handles updates on resolved addresses and attributes.
|
void |
NameResolver.Listener2.onAddresses(java.util.List<EquivalentAddressGroup> servers,
Attributes attributes) |
Deprecated.
This will be removed in 1.22.0
|
Attributes.Builder |
Attributes.Builder.setAll(Attributes other) |
|
LoadBalancer.CreateSubchannelArgs.Builder |
LoadBalancer.CreateSubchannelArgs.Builder.setAttributes(Attributes attrs) |
Attributes provided here will be included in
LoadBalancer.Subchannel.getAttributes() . |
LoadBalancer.ResolvedAddresses.Builder |
LoadBalancer.ResolvedAddresses.Builder.setAttributes(Attributes attributes) |
Sets the attributes.
|
NameResolver.ResolutionResult.Builder |
NameResolver.ResolutionResult.Builder.setAttributes(Attributes attributes) |
Sets the attributes for the addresses resolved by name resolution.
|
ClientStreamTracer.StreamInfo.Builder |
ClientStreamTracer.StreamInfo.Builder.setTransportAttrs(Attributes transportAttrs) |
Sets the attributes of the transport that this stream was created on.
|
Attributes |
ServerTransportFilter.transportReady(Attributes transportAttrs) |
Called when a transport is ready to process streams.
|
void |
ServerTransportFilter.transportTerminated(Attributes transportAttrs) |
Called when a transport is terminated.
|
Constructor | Description |
---|---|
EquivalentAddressGroup(java.net.SocketAddress addr,
Attributes attrs) |
Singleton constructor with Attributes.
|
EquivalentAddressGroup(java.util.List<java.net.SocketAddress> addrs,
Attributes attrs) |
List constructor with
Attributes . |