Click or drag to resize
Akka.NETDefaultResizer Methods

The DefaultResizer type exposes the following members.

Methods
  NameDescription
Public methodBackoff
Computes a proposed negative (or zero) capacity delta using the configured `backoffThreshold` and `backoffRate`
Public methodCapacity
Returns the overall desired change in resizer capacity. Positive value will add routees to the resizer. Negative value will remove routees from the resizer
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object).)
Public methodEquals(DefaultResizer)
Indicates whether the current object is equal to another object of the same type.
Public methodFilter
This method can be used to smooth the capacity delta by considering the current pressure and current capacity.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberFromConfig
TBD
Public methodGetHashCode
Serves as the default hash function.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsTimeForResize
TBD
(Overrides ResizerIsTimeForResize(Int64).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPressure
Number of routees considered busy, or above 'pressure level'. Implementation depends on the value of `pressureThreshold` (default is 1).
  • 0: number of routees currently processing a message.
  • 1: number of routees currently processing a message has some messages in mailbox.
  • > 1: number of routees with at least the configured `pressureThreshold` messages in their mailbox. Note that estimating mailbox size of default UnboundedMailbox is O(N) operation.
Public methodRampup
Computes a proposed positive (or zero) capacity delta using the configured `rampupRate`.
Public methodResize
TBD
(Overrides ResizerResize(IEnumerableRoutee).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
See Also