org.apache.storm.trident.state

## Class StateSpec

- java.lang.Object
- - org.apache.storm.trident.state.StateSpec

- All Implemented Interfaces:
    Serializable

      public class StateSpec
      extends Object
      implements Serializable

  See Also:
    Serialized Form

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `Integer` | `requiredNumPartitions`
    `StateFactory` | `stateFactory`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `StateSpec(StateFactory stateFactory)`

  - ### Method Summary

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

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

- - ### Field Detail

    - #### stateFactory

          public StateFactory stateFactory

    - #### requiredNumPartitions

          public Integer requiredNumPartitions

  - ### Constructor Detail

    - #### StateSpec

          public StateSpec(StateFactory stateFactory)

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