StreamFeedBootstrap

class StreamFeedBootstrap(outputConsumer: StandardOutputConsumer, metaFieldDecorator: MetaFieldDecorator, stateManager: StateManager, stream: Stream, dataChannelFormat: DataChannelFormat, dataChannelMedium: DataChannelMedium, bufferByteSizeThresholdForFlush: Int, clock: Clock) : FeedBootstrap<Stream>

FeedBootstrap implementation for Stream feeds.

Constructors

Link copied to clipboard
constructor(outputConsumer: StandardOutputConsumer, metaFieldDecorator: MetaFieldDecorator, stateManager: StateManager, stream: Stream, dataChannelFormat: DataChannelFormat, dataChannelMedium: DataChannelMedium, bufferByteSizeThresholdForFlush: Int, clock: Clock)

Properties

Link copied to clipboard
Link copied to clipboard

Convenience getter for the current state value for this feed.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Feed to emit records for.

Link copied to clipboard

Delegates to StateManager.feeds.

Link copied to clipboard

The MetaFieldDecorator instance which StreamRecordConsumer will use to decorate records.

Link copied to clipboard

The OutputConsumer instance to which StreamRecordConsumer will delegate to.

Functions

Link copied to clipboard

Deletages to StateManager to return the current state value for any Feed.

Link copied to clipboard
fun resetAll()

Resets the state value of this feed and the streams in it to zero.