public class GrpcChannelKey extends Object
GrpcChannelPool
.Modifier | Constructor and Description |
---|---|
protected |
GrpcChannelKey(GrpcNetworkGroup networkGroup,
GrpcServerAddress serverAddress,
int groupIndex)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
UUID |
getChannelId() |
GrpcNetworkGroup |
getNetworkGroup() |
GrpcServerAddress |
getServerAddress() |
int |
hashCode() |
String |
toString() |
protected GrpcChannelKey(GrpcNetworkGroup networkGroup, GrpcServerAddress serverAddress, int groupIndex)
networkGroup
- network groupserverAddress
- server addressgroupIndex
- the order of channel in slots that are allocated for its network grouppublic UUID getChannelId()
public GrpcServerAddress getServerAddress()
public GrpcNetworkGroup getNetworkGroup()
Copyright © 2023. All Rights Reserved.