FixedReadPlanFactory

cc.otavia.core.channel.message.FixedReadPlanFactory
See theFixedReadPlanFactory companion object
class FixedReadPlanFactory(val bufferSize: Int, maxMessagesPerRead: Int) extends MaxMessagesReadPlanFactory

The ReadPlanFactory that always yields the same buffer size prediction. This handle ignores the feedback from the I/O thread.

Value parameters

bufferSize

size for each read.

maxMessagesPerRead

max message per read.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Inherited methods

override def newPlan(channel: Channel): ReadPlan

Creates a new ReadPlan for the given Channel.

Creates a new ReadPlan for the given Channel.

Value parameters

channel

the Channel for which the ReadPlan is used.

Attributes

Definition Classes
Inherited from:
MaxMessagesReadPlanFactory

Concrete fields

val bufferSize: Int