Modifier and Type | Method and Description |
---|---|
Set<String> |
getExcludedPaths()
The topic paths that will be used to exclude topics from replication.
|
Set<String> |
getIncludedPaths()
The paths of the topic tree that will be included for replication.
|
boolean |
isEnabled()
Is topic replication enabled for the server.
|
void |
setEnabled(boolean enabled)
Set replication enabled.
|
void |
setExcludedPaths(Set<String> excludedPaths)
Set the excluded paths.
|
void |
setIncludedPaths(Set<String> includedPaths)
Set the paths of the topic tree to include for replication.
|
boolean isEnabled()
This allows the replication of topics to be permitted or prevented.
void setEnabled(boolean enabled)
enabled
- Is replication enabledSet<String> getIncludedPaths()
void setIncludedPaths(Set<String> includedPaths) throws ConfigException
includedPaths
- The set of included topic pathsNullPointerException
- If included paths is nullConfigException
- If the paths to include are non-empty and
the excluded paths are already set to a non-empty valueSet<String> getExcludedPaths()
void setExcludedPaths(Set<String> excludedPaths) throws ConfigException
excludedPaths
- The set of excluded topic pathsNullPointerException
- If excluded paths is nullConfigException
- If the paths to exclude are non-empty and
the included paths are already set to a non-empty valueCopyright © 2022 Push Technology Ltd. All Rights Reserved.