public class GrpcConnectionKey extends Object
GrpcConnectionPool
.Modifier | Constructor and Description |
---|---|
protected |
GrpcConnectionKey(GrpcChannelKey channelKey,
int groupIndex)
Creates a new gRPC connection key.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
GrpcChannelKey |
getChannelKey() |
int |
getGroupIndex() |
int |
hashCode() |
String |
toString() |
protected GrpcConnectionKey(GrpcChannelKey channelKey, int groupIndex)
GrpcChannelKey
- Group Index:
The order of channel in slots that are allocated for its network group.channelKey
- the gRPC channel keygroupIndex
- the group indexpublic GrpcChannelKey getChannelKey()
public int getGroupIndex()
Copyright © 2023. All Rights Reserved.