Package org.apache.storm.state
package org.apache.storm.state
-
ClassDescriptionBase implementation of iterator over
KeyValueState
which encoded types of key and value are both binary type.BaseStateIterator<K,V, KENCODEDT, VENCODEDT> Base implementation of iterator overKeyValueState
.DefaultStateEncoder<K,V> Default state encoder class for encoding/decoding key values.A default implementation that uses Kryo to serialize and de-serialize the state.An in-memory implementation of theState
.ProvidesInMemoryKeyValueState
.KeyValueState<K,V> A state that supports key-value mappings.Serializer<T>Interface to be implemented for serlializing and de-serializing the state.The state of the component that is either managed by the framework (e.g in case ofIStatefulBolt
) or managed by the the individual components themselves.StateEncoder<K,V, KENCODEDT, VENCODEDT> The interface of State Encoder.A factory for creatingState
instances.Used by theStateFactory
to create a new state instances.