object MultiStreamTracker
- Source
- MultiStreamTracker.scala
- Alphabetic
- By Inheritance
- MultiStreamTracker
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
-
def
apply(streams: List[MultiStreamConfig], formerStreamsLeasesDeletionStrategy: FormerStreamsLeasesDeletionStrategy): MultiStreamTracker
Basic constructor for MultiStreamTracker
Basic constructor for MultiStreamTracker
- streams
List of MultiStreamConfig to consume
- formerStreamsLeasesDeletionStrategy
- returns
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
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
-
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
- arns
List of StreamArn to consume
- deleteInterval
FiniteDuration indicating the delay between lease deletion attempts
- F
- returns
F of MultiStreamTracker
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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
- arns
List of StreamArn to consume
- formerStreamsLeasesDeletionStrategy
- F
- returns
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
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
-
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
- arns
List of StreamArn to consume
- F
- returns
F of MultiStreamTracker
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
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
-
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
- 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
- returns
F of MultiStreamTracker
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )