org.apache.storm.trident.testing

## Class LRUMemoryMapState.Factory

- java.lang.Object
- - org.apache.storm.trident.testing.LRUMemoryMapState.Factory

- All Implemented Interfaces:
    Serializable, StateFactory
  Enclosing class:
    LRUMemoryMapState<T>

      public static class LRUMemoryMapState.Factory
      extends Object
      implements StateFactory

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Factory(int maxSize)`

  - ### 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

    - #### Factory

          public Factory(int maxSize)

  - ### Method Detail

    - #### makeState

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

      Specified by:
        `makeState` in interface `StateFactory`

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