Package org.apache.storm.topology.base

# Class BaseWindowedBolt.Count

java.lang.Object
org.apache.storm.topology.base.BaseWindowedBolt.Count

All Implemented Interfaces:
  `Serializable`

Enclosing class:
  BaseWindowedBolt

public static class BaseWindowedBolt.Count extends Object implements Serializable
Holds a count value for count based windows and sliding intervals.

See Also:
  - Serialized Form

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `final int`
  `value`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Count(int value)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `equals(Object o)`
  `int`
  `hashCode()`
  `static BaseWindowedBolt.Count`
  `of(int value)`
  Returns a `BaseWindowedBolt.Count` of given value.
  `String`
  `toString()`

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

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### value

    public final int value

- ## Constructor Details

  - ### Count

    public Count(int value)

- ## Method Details

  - ### of

    public static BaseWindowedBolt.Count of(int value)
    Returns a `BaseWindowedBolt.Count` of given value.
    Parameters:
      `value` - the count value
    Returns:
      the Count

  - ### equals

    public boolean equals(Object o)
    Overrides:
      `equals` in class `Object`

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `Object`

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`