trait Checkpointer[F[_], C] extends Monoid[C]
Checkpoints messages to the input stream so that we don't read them again. A single checkpointer might be responsible for multiple incoming messages.
- F
An effect
- C
Source-specific type describing the outstading messages
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Checkpointer
- Monoid
- Semigroup
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def ack(c: C): F[Unit]
Trigger checkpointing.
Trigger checkpointing. Must be called only when all message processing is complete
- abstract def combine(x: C, y: C): C
- Definition Classes
- Semigroup
- abstract def empty: C
- Definition Classes
- Monoid
- abstract def nack(c: C): F[Unit]
Nack un-processed messages.
Nack un-processed messages. Used during shutdown
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- def combineAll(as: IterableOnce[C]): C
- Definition Classes
- Monoid
- def combineAllOption(as: IterableOnce[C]): Option[C]
- Definition Classes
- Monoid → Semigroup
- def combineN(a: C, n: Int): C
- Definition Classes
- Monoid → Semigroup
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def intercalate(middle: C): Semigroup[C]
- Definition Classes
- Semigroup
- def isEmpty(a: C)(implicit ev: Eq[C]): Boolean
- Definition Classes
- Monoid
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def repeatedCombineN(a: C, n: Int): C
- Attributes
- protected[this]
- Definition Classes
- Semigroup
- def reverse: Monoid[C]
- Definition Classes
- Monoid → Semigroup
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])