public class GrpcChannelKey extends Object
GrpcChannel
.Modifier and Type | Class and Description |
---|---|
protected static interface |
GrpcChannelKey.IdentityField |
Modifier and Type | Method and Description |
---|---|
static GrpcChannelKey |
create(AlluxioConfiguration conf)
Creates a
GrpcChannelKey . |
boolean |
equals(Object other) |
UUID |
getChannelId() |
GrpcNetworkGroup |
getNetworkGroup() |
GrpcServerAddress |
getServerAddress() |
int |
hashCode() |
GrpcChannelKey |
setClientType(String clientType) |
GrpcChannelKey |
setNetworkGroup(GrpcNetworkGroup group) |
GrpcChannelKey |
setServerAddress(GrpcServerAddress address) |
String |
toString() |
String |
toStringShort() |
public static GrpcChannelKey create(AlluxioConfiguration conf)
GrpcChannelKey
.conf
- the Alluxio configurationpublic UUID getChannelId()
public GrpcServerAddress getServerAddress()
public GrpcChannelKey setServerAddress(GrpcServerAddress address)
address
- destination address of the channelGrpcChannelKey
public GrpcChannelKey setNetworkGroup(GrpcNetworkGroup group)
group
- the networking group membershipGrpcChannelKey
public GrpcNetworkGroup getNetworkGroup()
public GrpcChannelKey setClientType(String clientType)
clientType
- the client typeGrpcChannelKey
public String toStringShort()
Copyright © 2023. All Rights Reserved.