org.apache.storm.rocketmq.trident.state

## Class RocketMqStateFactory

- java.lang.Object
- - org.apache.storm.rocketmq.trident.state.RocketMqStateFactory

- All Implemented Interfaces:
    Serializable, StateFactory

      public class RocketMqStateFactory
      extends Object
      implements StateFactory

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RocketMqStateFactory(RocketMqState.Options options)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `State` | `makeState(Map<String,Object> conf, IMetricsContext metrics, int partitionIndex, int numPartitions)`

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

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

- - ### Constructor Detail

    - #### RocketMqStateFactory

          public RocketMqStateFactory(RocketMqState.Options options)

  - ### Method Detail

    - #### makeState

          public State makeState(Map<String,Object> conf,
                                 IMetricsContext metrics,
                                 int partitionIndex,
                                 int numPartitions)

      Specified by:
        `makeState` in interface `StateFactory`

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