GlobalFeedBootstrap
class GlobalFeedBootstrap(outputConsumer: StandardOutputConsumer, metaFieldDecorator: MetaFieldDecorator, stateManager: StateManager, global: Global, dataChannelFormat: DataChannelFormat, dataChannelMedium: DataChannelMedium, bufferByteSizeThresholdForFlush: Int, clock: Clock) : FeedBootstrap<Global>
FeedBootstrap implementation for Global feeds.
Constructors
Link copied to clipboard
constructor(outputConsumer: StandardOutputConsumer, metaFieldDecorator: MetaFieldDecorator, stateManager: StateManager, global: Global, 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
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 streamJsonSocketRecordConsumers(socketJsonOutputConsumer: SocketJsonOutputConsumer): Map<StreamIdentifier, FeedBootstrap.JsonSocketEfficientStreamRecordConsumer<Global>>
Link copied to clipboard
fun streamProtoRecordConsumers(socketProtoOutputConsumer: SocketProtobufOutputConsumer): Map<StreamIdentifier, FeedBootstrap.ProtoEfficientStreamRecordConsumer<Global>>
Link copied to clipboard
A map of all StreamRecordConsumer for this feed.