public class ClusterConf extends Object
| Modifier and Type | Field and Description |
|---|---|
TopicConf[] |
topics |
PhysicalTransportConf[] |
transports |
| Constructor and Description |
|---|
ClusterConf() |
| Modifier and Type | Method and Description |
|---|---|
TopicConf |
getTopic(String name) |
TopicConf[] |
getTopics() |
PhysicalTransportConf[] |
getTransports() |
static ClusterConf |
readFrom(String filePath) |
ClusterConf |
topics(TopicConf... topics) |
ClusterConf |
transports(PhysicalTransportConf... transports) |
public PhysicalTransportConf[] transports
public TopicConf[] topics
public PhysicalTransportConf[] getTransports()
public ClusterConf transports(PhysicalTransportConf... transports)
public TopicConf[] getTopics()
public ClusterConf topics(TopicConf... topics)
public static ClusterConf readFrom(String filePath) throws Exception
ExceptionCopyright © 2014. All rights reserved.