Class ClusterDataImpl
java.lang.Object
org.apache.pulsar.common.policies.data.ClusterDataImpl
- All Implemented Interfaces:
Cloneable
,ClusterData
The configuration data for a cluster.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.pulsar.common.policies.data.ClusterData
ClusterData.Builder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
void
Check cluster data properties by rule, if some property is illegal, it will throwIllegalArgumentException
.clone()
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.pulsar.common.policies.data.ClusterData
getAuthenticationParameters, getAuthenticationPlugin, getBrokerClientCertificateFilePath, getBrokerClientKeyFilePath, getBrokerClientTlsKeyStore, getBrokerClientTlsKeyStorePassword, getBrokerClientTlsKeyStoreType, getBrokerClientTlsTrustStore, getBrokerClientTlsTrustStorePassword, getBrokerClientTlsTrustStoreType, getBrokerClientTrustCertsFilePath, getBrokerServiceUrl, getBrokerServiceUrlTls, getListenerName, getPeerClusterNames, getProxyProtocol, getProxyServiceUrl, getServiceUrl, getServiceUrlTls, isBrokerClientTlsEnabled, isBrokerClientTlsEnabledWithKeyStore, isTlsAllowInsecureConnection
-
Constructor Details
-
ClusterDataImpl
public ClusterDataImpl()
-
-
Method Details
-
builder
-
clone
- Specified by:
clone
in interfaceClusterData
- Overrides:
clone
in classObject
-
checkPropertiesIfPresent
Check cluster data properties by rule, if some property is illegal, it will throwIllegalArgumentException
.- Throws:
IllegalArgumentException
- exist illegal property.
-