object ApiStreaming
- Alphabetic
- By Inheritance
- ApiStreaming
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- case class IndexRange(fromInclusive: Long, toInclusive: Long) extends Product with Serializable
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 asyncIndexPoller[T](minDelayForSameIndex: FiniteDuration = FiniteDuration(25, "millis"), maxDelayForSameIndex: FiniteDuration = FiniteDuration(1000, "millis"), increaseDelayForSameIndex: (FiniteDuration) => FiniteDuration = _ * 2)(poll: () => Future[T])(implicit executionContext: ExecutionContext): Source[T, NotUsed]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- 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
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def pagedRangeQueryStream[T](rangeQueryWithLimit: (IndexRange) => Future[Vector[T]])(indexExtractor: (T) => Long)(indexRange: IndexRange): Source[T, NotUsed]
Queries a full range by issuing subsequent limited queries.
Queries a full range by issuing subsequent limited queries.
- rangeQueryWithLimit
Function to issue a range query with limit. Results are expected to be returned in index order.
- indexExtractor
to get back the index of one result.
- indexRange
the complete range.
- returns
Results for the complete range in index order.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tailingInclusiveIndexRanges[T](indexRange: IndexRange)(indexSource: Source[Long, T]): Source[IndexRange, T]
Renders a stream of inclusive index from-to pairs, which are mutually exclusive, and covering the complete range of (fromInclusive, toInclusive).
Renders a stream of inclusive index from-to pairs, which are mutually exclusive, and covering the complete range of (fromInclusive, toInclusive). The stream starts only after the indexSource passes by fromInclusive.
- indexRange
the inclusive complete range.
- indexSource
Source of strictly monotonically increasing indexes
- returns
a sequence of ranges following precisely each other monotonically. The first range will start with fromInclusive and the last range will end with toInclusive.
- 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])