Click or drag to resize
Akka.NETResizerIsTimeForResize Method
Is it time for resizing. Typically implemented with modulo of nth message, but could be based on elapsed time or something else. The messageCounter starts with 0 for the initial resize and continues with 1 for the first message. Make sure to perform initial resize before first message (messageCounter == 0), because there is no guarantee that resize will be done when concurrent messages are in play. CAUTION: this method is invoked from the thread which tries to send a message to the pool, i.e. the ActorRef.!() method, hence it may be called concurrently.

Namespace:  Akka.Routing
Assembly:  Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public abstract bool IsTimeForResize(
	long messageCounter
)

Parameters

messageCounter
Type: SystemInt64
TBD

Return Value

Type: Boolean
TBD
See Also