org.apache.storm.cassandra

## Class CassandraContext.ClientFactory

- java.lang.Object
- - org.apache.storm.cassandra.context.BaseBeanFactory<SimpleClient>
  - - org.apache.storm.cassandra.CassandraContext.ClientFactory

- All Implemented Interfaces:
    Serializable, BeanFactory<SimpleClient>
  Enclosing class:
    CassandraContext

      public static final class CassandraContext.ClientFactory
      extends BaseBeanFactory<SimpleClient>

  Simple class to make `CassandraContext.ClientFactory` from a Storm topology configuration.

  See Also:
    Serialized Form

- - ### Field Summary

    - ### Fields inherited from class org.apache.storm.cassandra.context.BaseBeanFactory

      `context, instance`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ClientFactory()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected SimpleClient` | `make(Map<String,Object> topoConf)` Return a new instance of T.

    - ### Methods inherited from class org.apache.storm.cassandra.context.BaseBeanFactory

      `get, newInstance, setStormContext`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ClientFactory

          public ClientFactory()

  - ### Method Detail

    - #### make

          protected SimpleClient make(Map<String,Object> topoConf)

      Return a new instance of T.

      Specified by:
        `make` in class `BaseBeanFactory<SimpleClient>`

Copyright © 2021 The Apache Software Foundation. All rights reserved.