cc.otavia.core.channel.message.MaxMessagesReadPlanFactory.MaxMessageReadPlan
Focuses on enforcing the maximum messages per read condition for lastRead .
Value parameters
-
maxMessagesPerRead
-
the maximum number of messages to read per read loop.
Attributes
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
-
Known subtypes
-
Members list
Guess the capacity for the next receive buffer size that is probably large enough to read all inbound data and small enough not to waste its space.
Guess the capacity for the next receive buffer size that is probably large enough to read all inbound data and small enough not to waste its space.
Attributes
-
Definition Classes
-
Notify the ReadPlan of the last read operation and its result.
Notify the ReadPlan of the last read operation and its result.
Value parameters
-
actualBytesRead
-
The number of bytes from the previous read operation. This may be negative if a read error occurs.
-
attemptedBytesRead
-
The number of bytes the read operation did attempt to read.
-
numMessagesRead
-
The number of messages read.
Attributes
-
Returns
-
true if the read loop should continue reading, false otherwise.
-
Definition Classes
-
Method that must be called once the read loop was completed.
Method that must be called once the read loop was completed.
Attributes
-
Definition Classes
-