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 intvalue
-
Constructor Summary
Constructors Constructor Description Count(int value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)inthashCode()static BaseWindowedBolt.Countof(int value)Returns aBaseWindowedBolt.Countof given value.StringtoString()
-
-
-
Method Detail
-
of
public static BaseWindowedBolt.Count of(int value)
Returns aBaseWindowedBolt.Countof given value.- Parameters:
value- the count value- Returns:
- the Count
-
-