Class DefaultChannelMetadataRegistry
java.lang.Object
org.apache.kafka.common.network.DefaultChannelMetadataRegistry
- All Implemented Interfaces:
Closeable, AutoCloseable, org.apache.kafka.common.network.ChannelMetadataRegistry
public class DefaultChannelMetadataRegistry
extends Object
implements org.apache.kafka.common.network.ChannelMetadataRegistry
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.kafka.common.network.CipherInformationclientId()org.apache.kafka.common.network.ClientInformationvoidclose()org.apache.kafka.common.network.ProxyProtocolvoidregisterCipherInformation(org.apache.kafka.common.network.CipherInformation cipherInformation) voidregisterClientId(String clientId) voidregisterClientInformation(org.apache.kafka.common.network.ClientInformation clientInformation) voidregisterProxyProtocol(org.apache.kafka.common.network.ProxyProtocol proxyProtocol)
-
Constructor Details
-
DefaultChannelMetadataRegistry
public DefaultChannelMetadataRegistry()
-
-
Method Details
-
registerClientId
- Specified by:
registerClientIdin interfaceorg.apache.kafka.common.network.ChannelMetadataRegistry
-
clientId
- Specified by:
clientIdin interfaceorg.apache.kafka.common.network.ChannelMetadataRegistry
-
registerCipherInformation
public void registerCipherInformation(org.apache.kafka.common.network.CipherInformation cipherInformation) - Specified by:
registerCipherInformationin interfaceorg.apache.kafka.common.network.ChannelMetadataRegistry
-
cipherInformation
public org.apache.kafka.common.network.CipherInformation cipherInformation()- Specified by:
cipherInformationin interfaceorg.apache.kafka.common.network.ChannelMetadataRegistry
-
registerClientInformation
public void registerClientInformation(org.apache.kafka.common.network.ClientInformation clientInformation) - Specified by:
registerClientInformationin interfaceorg.apache.kafka.common.network.ChannelMetadataRegistry
-
clientInformation
public org.apache.kafka.common.network.ClientInformation clientInformation()- Specified by:
clientInformationin interfaceorg.apache.kafka.common.network.ChannelMetadataRegistry
-
registerProxyProtocol
public void registerProxyProtocol(org.apache.kafka.common.network.ProxyProtocol proxyProtocol) - Specified by:
registerProxyProtocolin interfaceorg.apache.kafka.common.network.ChannelMetadataRegistry
-
proxyProtocol
public org.apache.kafka.common.network.ProxyProtocol proxyProtocol()- Specified by:
proxyProtocolin interfaceorg.apache.kafka.common.network.ChannelMetadataRegistry
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceorg.apache.kafka.common.network.ChannelMetadataRegistry- Specified by:
closein interfaceCloseable
-