Modifier and Type | Field | Description |
---|---|---|
static Attributes.Key<java.lang.String> |
EquivalentAddressGroup.ATTR_AUTHORITY_OVERRIDE |
The authority to be used when constructing Subchannels for this EquivalentAddressGroup.
|
static Attributes.Key<java.util.Map<java.lang.String,?>> |
LoadBalancer.ATTR_LOAD_BALANCING_CONFIG |
The load-balancing config converted from an JSON object injected by the GRPC library.
|
static Attributes.Key<java.lang.Integer> |
NameResolver.Factory.PARAMS_DEFAULT_PORT |
Deprecated.
this will be deleted along with
NameResolver.Factory.newNameResolver(URI, Attributes) in
a future release. |
static Attributes.Key<java.lang.Integer> |
NameResolverProvider.PARAMS_DEFAULT_PORT |
Deprecated.
|
static Attributes.Key<ProxyDetector> |
NameResolver.Factory.PARAMS_PROXY_DETECTOR |
Deprecated.
this will be deleted along with
NameResolver.Factory.newNameResolver(URI, Attributes) in
a future release |
static Attributes.Key<java.net.SocketAddress> |
Grpc.TRANSPORT_ATTR_LOCAL_ADDR |
Attribute key for the local address of a transport.
|
static Attributes.Key<java.net.SocketAddress> |
Grpc.TRANSPORT_ATTR_REMOTE_ADDR |
Attribute key for the remote address of a transport.
|
static Attributes.Key<javax.net.ssl.SSLSession> |
Grpc.TRANSPORT_ATTR_SSL_SESSION |
Attribute key for SSL session of a transport.
|
Modifier and Type | Method | Description |
---|---|---|
static <T> Attributes.Key<T> |
Attributes.Key.create(java.lang.String debugString) |
Factory method for creating instances of
Attributes.Key . |
static <T> Attributes.Key<T> |
Attributes.Key.of(java.lang.String debugString) |
Deprecated.
use
create(java.lang.String) instead. |
Modifier and Type | Method | Description |
---|---|---|
java.util.Set<Attributes.Key<?>> |
Attributes.keys() |
Deprecated.
This method is being considered for removal, if you feel this method is needed
please reach out on this Github issue:
grpc-java/issues/1764.
|
Modifier and Type | Method | Description |
---|---|---|
<T> Attributes.Builder |
Attributes.Builder.discard(Attributes.Key<T> key) |
Removes the key and associated value from the attribtues.
|
<T> T |
Attributes.get(Attributes.Key<T> key) |
Gets the value for the key, or
null if it's not present. |
<T> Attributes.Builder |
Attributes.Builder.set(Attributes.Key<T> key,
T value) |