Package io.grpc
Class Attributes.Key<T>
java.lang.Object
io.grpc.Attributes.Key<T>
- Type Parameters:
T- type of the value in the key-value pair
- Enclosing class:
- Attributes
Key for an key-value pair. Uses reference equality.
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Attributes.Key<T>Factory method for creating instances ofAttributes.Key.static <T> Attributes.Key<T>Deprecated.toString()
-
Method Details
-
toString
-
of
Deprecated.usecreate(java.lang.String)instead. This method will be removed in the future.Factory method for creating instances ofAttributes.Key.- Type Parameters:
T- Key type- Parameters:
debugString- a string used to describe the key, used for debugging.- Returns:
- Key object
-
create
Factory method for creating instances ofAttributes.Key.- Type Parameters:
T- Key type- Parameters:
debugString- a string used to describe the key, used for debugging.- Returns:
- Key object
-
create(java.lang.String)instead.