public class ClusterFactory extends BaseBeanFactory<com.datastax.driver.core.Cluster>
Default interface to build cassandra Cluster from the a Storm Topology configuration.
context, instance
Constructor and Description |
---|
ClusterFactory() |
Modifier and Type | Method and Description |
---|---|
protected com.datastax.driver.core.Cluster |
make(Map<String,Object> stormConf)
Creates a new Cluster based on the specified configuration.
|
get, newInstance, setStormContext
protected com.datastax.driver.core.Cluster make(Map<String,Object> stormConf)
Creates a new Cluster based on the specified configuration.
make
in class BaseBeanFactory<com.datastax.driver.core.Cluster>
stormConf
- the storm configuration.Cluster
instance.Copyright © 2022 The Apache Software Foundation. All Rights Reserved.