Package | Description |
---|---|
io.grpc |
The gRPC core public API.
|
io.grpc.internal |
Interfaces and implementations that are internal to gRPC.
|
Modifier and Type | Field and Description |
---|---|
static Attributes.Key<Map<String,?>> |
LoadBalancer.ATTR_LOAD_BALANCING_CONFIG
The load-balancing config converted from an JSON object injected by the GRPC library.
|
static Attributes.Key<Integer> |
NameResolverProvider.PARAMS_DEFAULT_PORT
Deprecated.
|
static Attributes.Key<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<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<SocketAddress> |
Grpc.TRANSPORT_ATTR_LOCAL_ADDR
Attribute key for the local address of a transport.
|
static Attributes.Key<SocketAddress> |
Grpc.TRANSPORT_ATTR_REMOTE_ADDR
Attribute key for the remote address of a transport.
|
static Attributes.Key<SSLSession> |
Grpc.TRANSPORT_ATTR_SSL_SESSION
Attribute key for SSL session of a transport.
|
Modifier and Type | Method and Description |
---|---|
static <T> Attributes.Key<T> |
Attributes.Key.create(String debugString)
Factory method for creating instances of
Attributes.Key . |
static <T> Attributes.Key<T> |
Attributes.Key.of(String debugString)
Deprecated.
use
create(java.lang.String) instead. This method will be removed in the future. |
Modifier and Type | Method and Description |
---|---|
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 and Description |
---|---|
<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) |
Modifier and Type | Field and Description |
---|---|
static Attributes.Key<Attributes> |
GrpcAttributes.ATTR_CLIENT_EAG_ATTRS
Attribute key for the attributes of the
EquivalentAddressGroup (EquivalentAddressGroup.getAttributes() ) that the transport's server address is from. |
static Attributes.Key<String> |
GrpcAttributes.ATTR_LB_ADDR_AUTHORITY
The naming authority of a gRPC LB server address.
|
static Attributes.Key<Boolean> |
GrpcAttributes.ATTR_LB_PROVIDED_BACKEND
Whether this EquivalentAddressGroup was provided by a GRPCLB server.
|
static Attributes.Key<SecurityLevel> |
GrpcAttributes.ATTR_SECURITY_LEVEL
The security level of the transport.
|
static Attributes.Key<Map<String,?>> |
GrpcAttributes.NAME_RESOLVER_SERVICE_CONFIG
Attribute key for service config.
|
Copyright © 2019. All rights reserved.