Trait

org.zalando.kanadi.api

SubscriptionsInterface

Related Doc: package api

Permalink

trait SubscriptionsInterface extends AnyRef

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SubscriptionsInterface
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def closeHttpConnection(subscriptionId: SubscriptionId, streamId: StreamId): Boolean

    Permalink
  2. abstract def commitCursors(subscriptionId: SubscriptionId, subscriptionCursor: SubscriptionCursor, streamId: StreamId, eventBatch: Boolean)(implicit flowId: FlowId = randomFlowId(), executionContext: ExecutionContext): Future[Option[CommitCursorResponse]]

    Permalink
  3. abstract def create(subscription: Subscription)(implicit flowId: FlowId = randomFlowId(), executionContext: ExecutionContext): Future[Subscription]

    Permalink
  4. abstract def createIfDoesntExist(subscription: Subscription)(implicit flowId: FlowId = randomFlowId(), executionContext: ExecutionContext): Future[Subscription]

    Permalink
  5. abstract def cursors(subscriptionId: SubscriptionId)(implicit flowId: FlowId = randomFlowId(), executionContext: ExecutionContext): Future[Option[SubscriptionCursor]]

    Permalink
  6. abstract def delete(subscriptionId: SubscriptionId)(implicit flowId: FlowId = randomFlowId(), executionContext: ExecutionContext): Future[Unit]

    Permalink
  7. abstract def eventsStreamed[T](subscriptionId: SubscriptionId, eventCallback: EventCallback[T], connectionClosedCallback: ConnectionClosedCallback = ..., streamConfig: StreamConfig = Subscriptions.StreamConfig(), modifySourceFunction: Option[(Source[SubscriptionEvent[T], UniqueKillSwitch]) ⇒ Source[SubscriptionEvent[T], UniqueKillSwitch]] = None)(implicit decoder: Decoder[List[Event[T]]], flowId: FlowId = randomFlowId(), executionContext: ExecutionContext, eventStreamSupervisionDecider: EventStreamSupervisionDecider): Future[StreamId]

    Permalink
  8. abstract def eventsStreamedManaged[T](subscriptionId: SubscriptionId, eventCallback: EventCallback[T], connectionClosedCallback: ConnectionClosedCallback = ..., streamConfig: StreamConfig = Subscriptions.StreamConfig(), modifySourceFunction: Option[(Source[SubscriptionEvent[T], UniqueKillSwitch]) ⇒ Source[SubscriptionEvent[T], UniqueKillSwitch]] = None)(implicit decoder: Decoder[List[Event[T]]], flowId: FlowId = randomFlowId(), executionContext: ExecutionContext, eventStreamSupervisionDecider: EventStreamSupervisionDecider): Future[StreamId]

    Permalink
  9. abstract def eventsStreamedSource[T](subscriptionId: SubscriptionId, connectionClosedCallback: ConnectionClosedCallback = ..., streamConfig: StreamConfig = Subscriptions.StreamConfig())(implicit decoder: Decoder[List[Event[T]]], flowId: FlowId, executionContext: ExecutionContext, eventStreamSupervisionDecider: EventStreamSupervisionDecider): Future[NakadiSource[T]]

    Permalink
  10. abstract def eventsStreamedSourceManaged[T](subscriptionId: SubscriptionId, connectionClosedCallback: ConnectionClosedCallback = ..., streamConfig: StreamConfig = Subscriptions.StreamConfig())(implicit decoder: Decoder[List[Event[T]]], flowId: FlowId, executionContext: ExecutionContext, eventStreamSupervisionDecider: EventStreamSupervisionDecider): Future[NakadiSource[T]]

    Permalink
  11. abstract def eventsStrictUnsafe[T](subscriptionId: SubscriptionId, maxUncommittedEvents: Option[Int] = None, batchLimit: Option[Int] = None, streamLimit: Option[Int] = None, batchFlushTimeout: Option[FiniteDuration] = None, streamTimeout: Option[FiniteDuration] = None, streamKeepAliveLimit: Option[Int] = None)(implicit decoder: Decoder[List[Event[T]]], flowId: FlowId = randomFlowId(), executionContext: ExecutionContext): Future[List[SubscriptionEvent[T]]]

    Permalink
  12. abstract def get(subscriptionId: SubscriptionId)(implicit flowId: FlowId = randomFlowId(), executionContext: ExecutionContext): Future[Option[Subscription]]

    Permalink
  13. abstract def list(owningApplication: Option[String] = None, eventType: Option[List[EventTypeName]] = None, limit: Option[Int] = None, offset: Option[Int] = None)(implicit flowId: FlowId = randomFlowId(), executionContext: ExecutionContext): Future[SubscriptionQuery]

    Permalink
  14. abstract def resetCursors(subscriptionId: SubscriptionId, subscriptionCursor: Option[SubscriptionCursor] = None)(implicit flowId: FlowId = randomFlowId(), executionContext: ExecutionContext): Future[Boolean]

    Permalink
  15. abstract def stats(subscriptionId: SubscriptionId)(implicit flowId: FlowId = randomFlowId(), executionContext: ExecutionContext): Future[Option[SubscriptionStats]]

    Permalink

Concrete 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. final def asInstanceOf[T0]: T0

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped