mirror of https://github.com/grpc/grpc-java.git
api: Document Attributes.Key uses reference equality
The text here should be expanded once `keys()` is removed. But for now this at least can make it clearer that the current behavior is on purpose. The text here is the same as that in CallOptions.Key. See https://github.com/grpc/grpc-java/issues/1764#issuecomment-1144935608
This commit is contained in:
parent
9a09021897
commit
a2c0ae3295
|
|
@ -110,7 +110,8 @@ public final class Attributes {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Key for an key-value pair.
|
* Key for an key-value pair. Uses reference equality.
|
||||||
|
*
|
||||||
* @param <T> type of the value in the key-value pair
|
* @param <T> type of the value in the key-value pair
|
||||||
*/
|
*/
|
||||||
@Immutable
|
@Immutable
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue