Method | Description | |
---|---|---|
Cluster ( ) : System |
Initializes a new instance of the Cluster class.
|
|
Cluster ( IEnumerable |
Initializes a new instance of the Cluster class.
|
|
Cluster ( IZooKeeperClient zkClient ) : System |
Initializes a new instance of the Cluster class.
|
|
GetBroker ( int id ) : |
Gets broker with given ID
|
Method | Description | |
---|---|---|
CreateBroker ( string node, string brokerInfoString ) : |
Creates a new Broker object out of a BrokerInfoString
|
public Cluster ( IEnumerable |
||
brokers | IEnumerable |
/// The set of active brokers. /// |
return | System |
public Cluster ( IZooKeeperClient zkClient ) : System | ||
zkClient | IZooKeeperClient | IZooKeeperClient object |
return | System |
public GetBroker ( int id ) : |
||
id | int | /// The broker ID. /// |
return |