Package com.ibm.streams.operator.state

State management for operators.

See: Description

Package com.ibm.streams.operator.state Description

State management for operators. Operators generally fall into three categories for state:
  • Stateless - Operator maintains no state related to stream processing, typically an input tuple is processed completely within the process method resulting in zero or more tuples being submitted, for example a filtering operator.
  • Buffering - Operator processes a tuple partially within the process method, leaving outstanding work once the process method returns. For example a delay operator creates a list of tuples to be submitted later.
  • Stateful - The operator maintains state related to tuple processing that persists across multiple calls to the process method. For example, windowing operators. Some stateful operators may also be buffering.
Buffering and stateful operators utilize StateHandler to manage state and its coordination within an SPL application. For example:
Since:
InfoSphere® Streams Version 4.0