Package org.apache.storm.trident.windowing.config

# Interface WindowConfig

All Superinterfaces:
  `Serializable`

All Known Implementing Classes:
  `BaseWindowConfig`, `SlidingCountWindow`, `SlidingDurationWindow`, `TumblingCountWindow`, `TumblingDurationWindow`

public interface WindowConfig extends Serializable
Windowing configuration with window and sliding length.

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Interface
  Description
  `static enum`
  `WindowConfig.Type`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `getSlidingLength()`
  Returns the sliding length of the moving window.
  `int`
  `getWindowLength()`
  Returns the length of the window.
  `<T> WindowStrategy<T>`
  `getWindowStrategy()`
  Gives the type of windowing.
  `void`
  `validate()`

- ## Method Details

  - ### getWindowLength

    int getWindowLength()
    Returns the length of the window.

  - ### getSlidingLength

    int getSlidingLength()
    Returns the sliding length of the moving window.

  - ### getWindowStrategy

    <T> WindowStrategy<T> getWindowStrategy()
    Gives the type of windowing. It can be any of `Type` values.

  - ### validate

    void validate()