io.gearpump.streaming.state

api

package api

Visibility
  1. Public
  2. All

Type Members

  1. trait Group[T] extends Monoid[T]

  2. trait Monoid[T] extends Serializable

  3. abstract class MonoidState[T] extends PersistentState[T]

    MonoidState uses Algebird Monoid to aggregate state

    MonoidState uses Algebird Monoid to aggregate state

    on start, state value is initialized to monoid.zero on each new message, existing state value is aggregated with the incoming value using monoid.plus to get a new state value

  4. trait PersistentState[T] extends AnyRef

    PersistentState is part of the transaction API

    PersistentState is part of the transaction API

    Users could get transaction support from the framework by conforming to PersistentState APIs and extending PersistentTask to manage the state

  5. abstract class PersistentTask[T] extends Task

    PersistentTask is part of the transaction API

    PersistentTask is part of the transaction API

    Users should extend this task if they want to get transaction support from the framework

  6. trait Serializer[T] extends Serializable

Ungrouped