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 ClassesNested classes/interfaces inherited from interface org.apache.pulsar.common.policies.data.ClusterData
ClusterData.Builder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()voidCheck 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, waitMethods 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:
clonein interfaceClusterData- Overrides:
clonein classObject
-
checkPropertiesIfPresent
Check cluster data properties by rule, if some property is illegal, it will throwIllegalArgumentException.- Throws:
IllegalArgumentException- exist illegal property.
-