Object/Class

com.typesafe.conductr.clientlib.akka

BundlesConnector

Related Docs: class BundlesConnector | package akka

Permalink

object BundlesConnector

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BundlesConnector
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed trait Message extends AnyRef

    Permalink
  2. sealed trait State extends AnyRef

    Permalink

Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. object TimeoutException extends RuntimeException with Product with Serializable

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def connect(conductrAddress: URL, stopAfter: Option[FiniteDuration] = None, expectingEventBurstTimeout: FiniteDuration = 500.millis, reconnectInterval: FiniteDuration = 500.millis)(implicit system: ActorRefFactory): Flow[(HttpRequest, HttpRequest), Seq[Bundle], NotUsed]

    Permalink

    Client API which provides a nicer interface to the BundlesConnector actor.

    Client API which provides a nicer interface to the BundlesConnector actor.

    Returns a flow graph of Flow[(HttpRequest, HttpRequest), Seq[Bundle], NotUsed].

    The input is a tuple of HttpRequest: - The first element of the tuple is the HTTP request for ConductR Bundles Events endpoint. - The second element of the tuple is the HTTP request for ConductR Bundles endpoint.

    The Seq[Bundle] will be emitted whenever there's any change of the bundle state within ConductR. The change detection is derived from having Bundle SSE propagated by ConductR Bundles Events endpoint, and an updated Seq[Bundle] being recognized by the BundlesConnector actor.

    If the timeout specified by stopAfter has elapsed and the stream has not yet complete, BundlesConnector will terminate the stream with an error using TimeoutException.

    conductrAddress

    the ConductR Control Protocol base URL

    stopAfter

    the timeout waiting for the stream to complete.

    expectingEventBurstTimeout

    the expected amount of time of which SSE event burst from /bundles/events will take place. Once event burst is over, the latest bundle state will be obtained from /bundles/events

    reconnectInterval

    the amount of time to wait to reconnect to /bundles/events when disconnected.

    system

    the actor system which is used to build BundlesConnector

    returns

    the flow graph of Flow[(HttpRequest, HttpRequest), Seq[Bundle], NotUsed].

  8. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

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

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  18. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped