Click or drag to resize
ResizerIsTimeForResize 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: 0.8.0.0 (0.8.0.0)
Syntax
public abstract bool IsTimeForResize(
	long messageCounter
)

Parameters

messageCounter
Type: SystemInt64

[Missing <param name="messageCounter"/> documentation for "M:Akka.Routing.Resizer.IsTimeForResize(System.Int64)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:Akka.Routing.Resizer.IsTimeForResize(System.Int64)"]

See Also