public class ProtocolFeatureStore extends Object
| Modifier and Type | Field and Description |
|---|---|
static AttributeKey<ProtocolFeatureStore> |
CHANNEL_KEY |
static ProtocolFeatureStore |
EMPTY
Instance of
ProtocolFeatureStore initialized with default values. |
| Constructor and Description |
|---|
ProtocolFeatureStore(ShardingInfo.ConnectionShardingInfo connectionShardingInfo,
LwtInfo lwtInfo,
TabletInfo tabletInfo,
boolean useMetadataId) |
| Modifier and Type | Method and Description |
|---|---|
ShardingInfo.ConnectionShardingInfo |
getConnectionShardingInfo() |
LwtInfo |
getLwtInfo() |
boolean |
isUseMetadataId() |
static ProtocolFeatureStore |
loadFromChannel(Channel channel) |
static ProtocolFeatureStore |
parseSupportedOptions(Map<String,List<String>> supported) |
void |
populateStartupOptions(ProtocolVersion protocolVersion,
Map<String,String> options) |
void |
storeInChannel(Channel channel)
Stores features in a
Host. |
public static final AttributeKey<ProtocolFeatureStore> CHANNEL_KEY
public static final ProtocolFeatureStore EMPTY
ProtocolFeatureStore initialized with default values.public ProtocolFeatureStore(ShardingInfo.ConnectionShardingInfo connectionShardingInfo, LwtInfo lwtInfo, TabletInfo tabletInfo, boolean useMetadataId)
public static ProtocolFeatureStore parseSupportedOptions(Map<String,List<String>> supported)
public void populateStartupOptions(ProtocolVersion protocolVersion, Map<String,String> options)
public void storeInChannel(Channel channel)
Host.channel - an instance of Channelpublic static ProtocolFeatureStore loadFromChannel(Channel channel)
public ShardingInfo.ConnectionShardingInfo getConnectionShardingInfo()
public LwtInfo getLwtInfo()
public boolean isUseMetadataId()
Copyright © 2012–2026. All rights reserved.