Packages

object MultiStreamTracker

Source
MultiStreamTracker.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MultiStreamTracker
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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. def apply(streams: List[MultiStreamConfig], formerStreamsLeasesDeletionStrategy: FormerStreamsLeasesDeletionStrategy): MultiStreamTracker

    Basic constructor for MultiStreamTracker

    Basic constructor for MultiStreamTracker

    streams

    List of MultiStreamConfig to consume

    formerStreamsLeasesDeletionStrategy

    FormerStreamsLeasesDeletionStrategy

    returns

    MultiStreamTracker

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def detectAndDefer(streams: List[MultiStreamConfig], deleteInterval: FiniteDuration): MultiStreamTracker

    Basic constructor for MultiStreamTracker, which hard-codes the FormerStreamsLeasesDeletionStrategy to the DetectAndDefer strategy (meaning the KCL will attempt to detect leases to clean up and delete them after a configured amount of time has passed)

    Basic constructor for MultiStreamTracker, which hard-codes the FormerStreamsLeasesDeletionStrategy to the DetectAndDefer strategy (meaning the KCL will attempt to detect leases to clean up and delete them after a configured amount of time has passed)

    streams

    List of MultiStreamConfig to consume

    deleteInterval

    FiniteDuration indicating the delay between lease deletion attempts

    returns

    MultiStreamTracker

  8. def detectAndDeferFromArns[F[_]](client: KinesisClient[F], arns: Map[StreamArn, InitialPositionInStreamExtended], deleteInterval: FiniteDuration)(implicit F: Async[F]): F[MultiStreamTracker]

    Constructor for MultiStreamTracker, which hard-codes the FormerStreamsLeasesDeletionStrategy to the DetectAndDefer strategy (meaning the KCL will attempt to detect leases to clean up and delete them after a configured amount of time has passed)

    Constructor for MultiStreamTracker, which hard-codes the FormerStreamsLeasesDeletionStrategy to the DetectAndDefer strategy (meaning the KCL will attempt to detect leases to clean up and delete them after a configured amount of time has passed)

    The StreamIdentifier constructor for multi-stream instances requires users to provide a creation-time epoch, which is not usually known. This describes the stream to get that information. which allows users to provide values and a KinesisClient.

    client

    KinesisClient

    arns

    List of StreamArn to consume

    deleteInterval

    FiniteDuration indicating the delay between lease deletion attempts

    F

    Async

    returns

    F of MultiStreamTracker

  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. def fromArns[F[_]](client: KinesisClient[F], arns: Map[StreamArn, InitialPositionInStreamExtended], formerStreamsLeasesDeletionStrategy: FormerStreamsLeasesDeletionStrategy)(implicit F: Async[F]): F[MultiStreamTracker]

    Constructor for MultiStreamTracker.

    Constructor for MultiStreamTracker.

    The StreamIdentifier constructor for multi-stream instances requires users to provide a creation-time epoch, which is not usually known. This describes the stream to get that information. which allows users to provide values and a KinesisClient.

    client

    KinesisClient

    arns

    List of StreamArn to consume

    formerStreamsLeasesDeletionStrategy

    FormerStreamsLeasesDeletionStrategy

    F

    Async

    returns

    MultiStreamTracker

  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def noLeaseDeletion(streams: List[MultiStreamConfig]): MultiStreamTracker

    Basic constructor for MultiStreamTracker, which hard-codes the FormerStreamsLeasesDeletionStrategy to the NoLeaseDeletionStrategy (meaning old leases will not be cleaned up by the KCL)

    Basic constructor for MultiStreamTracker, which hard-codes the FormerStreamsLeasesDeletionStrategy to the NoLeaseDeletionStrategy (meaning old leases will not be cleaned up by the KCL)

    streams

    List of MultiStreamConfig to consume

    returns

    MultiStreamTracker

  18. def noLeaseDeletionFromArns[F[_]](client: KinesisClient[F], arns: Map[StreamArn, InitialPositionInStreamExtended])(implicit F: Async[F]): F[MultiStreamTracker]

    Constructor for MultiStreamTracker, which hard-codes the FormerStreamsLeasesDeletionStrategy to the NoLeaseDeletionStrategy (meaning old leases will not be cleaned up by the KCL)

    Constructor for MultiStreamTracker, which hard-codes the FormerStreamsLeasesDeletionStrategy to the NoLeaseDeletionStrategy (meaning old leases will not be cleaned up by the KCL)

    The StreamIdentifier constructor for multi-stream instances requires users to provide a creation-time epoch, which is not usually known. This describes the stream to get that information. which allows users to provide values and a KinesisClient.

    client

    KinesisClient

    arns

    List of StreamArn to consume

    F

    Async

    returns

    F of MultiStreamTracker

  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. def provideAndDefer(streams: List[MultiStreamConfig], deleteInterval: FiniteDuration)(identifyStreamsToDelete: () => List[StreamIdentifier]): MultiStreamTracker

    Basic constructor for MultiStreamTracker, which hard-codes the FormerStreamsLeasesDeletionStrategy to the ProvideAndDefer strategy (meaning the user will provide a means to detect streams to clean up, and the KCL will delete them after a configured amount of time has passed)

    Basic constructor for MultiStreamTracker, which hard-codes the FormerStreamsLeasesDeletionStrategy to the ProvideAndDefer strategy (meaning the user will provide a means to detect streams to clean up, and the KCL will delete them after a configured amount of time has passed)

    streams

    List of MultiStreamConfig to consume

    deleteInterval

    FiniteDuration indicating the delay between lease deletion attempts

    identifyStreamsToDelete

    User-defined function to produce a list of StreamIdentifier values to clean up

    returns

    MultiStreamTracker

  22. def provideAndDeferFromArns[F[_]](client: KinesisClient[F], arns: Map[StreamArn, InitialPositionInStreamExtended], deleteInterval: FiniteDuration)(identifyStreamsToDelete: () => List[StreamIdentifier])(implicit F: Async[F]): F[MultiStreamTracker]

    Constructor for MultiStreamTracker, which hard-codes the FormerStreamsLeasesDeletionStrategy to the ProvideAndDefer strategy (meaning the user will provide a means to detect streams to clean up, and the KCL will delete them after a configured amount of time has passed)

    Constructor for MultiStreamTracker, which hard-codes the FormerStreamsLeasesDeletionStrategy to the ProvideAndDefer strategy (meaning the user will provide a means to detect streams to clean up, and the KCL will delete them after a configured amount of time has passed)

    The StreamIdentifier constructor for multi-stream instances requires users to provide a creation-time epoch, which is not usually known. This describes the stream to get that information. which allows users to provide values and a KinesisClient.

    client

    KinesisClient

    arns

    List of StreamArn to consume

    deleteInterval

    FiniteDuration indicating the delay between lease deletion attempts

    identifyStreamsToDelete

    User-defined function to produce a list of StreamIdentifier values to clean up

    F

    Async

    returns

    F of MultiStreamTracker

  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped