be.wegenenverkeer.atomium.client

FeedObservableBuilder

Related Doc: package client

class FeedObservableBuilder[E] extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. FeedObservableBuilder
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FeedObservableBuilder(inner: japi.client.AtomiumClient.FeedObservableBuilder[E])

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  11. val inner: japi.client.AtomiumClient.FeedObservableBuilder[E]

  12. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. final def notify(): Unit

    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  16. def observeFrom(entryId: String, pageUrl: String, intervalInMs: Int): Observable[FeedEntry[E]]

    Creates a "cold" rx.lang.scala.Observable that, when subscribed to, emits all entries in the feed starting from the oldest entry immediately after the specified entry.

    Creates a "cold" rx.lang.scala.Observable that, when subscribed to, emits all entries in the feed starting from the oldest entry immediately after the specified entry.

    When subscribed to, the observable will create a single-threaded rx.Scheduler.Worker that will:

    • retrieve the specified feed page
    • emit all entries more recent that the specified feed entry
    • follow iteratively the 'previous'-links and emits all entries on the linked-to pages until it arrives at the head of the feed (identified by not having a 'previous'-link)
    • poll the feed at the specified interval (using conditional GETs) and emit all entries not yet seen

    The worker will exit only on an error condition, or on unsubscribe.

    Important: a new and independent worker is created for each subscriber.

    entryId

    the entry-id of an entry on the specified page

    pageUrl

    the url (absolute, or relative to the feed's base url) of the feed-page, containing the entry identified with the entryId argument

    intervalInMs

    the polling interval in milliseconds.

    returns

    an Observable emitting all entries since the specified entry

  17. def observeFromBeginning(intervalInMs: Int): Observable[FeedEntry[E]]

    Creates a "cold" rx.lang.scala.Observable that, when subscribed to, emits all entries on the feed starting from the begnning.

    Creates a "cold" rx.lang.scala.Observable that, when subscribed to, emits all entries on the feed starting from the begnning.

    Starting from the beginning means going to the 'last' page of the feed, and the bottom entry on that page, and working back to the present.

    returns

    a "cold" Observable

  18. def observeFromNowOn(intervalInMs: Int): Observable[FeedEntry[E]]

    Creates a "cold" rx.lang.scala.Observable that, when subscribed to, emits all entries on the feed starting from those then on the head of the feed.

    Creates a "cold" rx.lang.scala.Observable that, when subscribed to, emits all entries on the feed starting from those then on the head of the feed.

    The behavior is analogous to the method observeFrom() but starting from the head page

    intervalInMs

    the polling interval in milliseconds.

    returns

    a "cold" Observable

  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  20. def toString(): String

    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. def withRetry(strategy: RetryStrategy): FeedObservableBuilder[E]

Deprecated Value Members

  1. def observeSince(entryId: String, pageUrl: String, intervalInMs: Int): Observable[FeedEntry[E]]

    Deprecated

    Will be replaced by observeFrom() in next version

Inherited from AnyRef

Inherited from Any

Ungrouped