Package org.apache.pekko.routing
Interface OptimalSizeExploringResizer
- All Superinterfaces:
Resizer
- All Known Implementing Classes:
DefaultOptimalSizeExploringResizer
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classINTERNAL APIstatic classstatic classINTERNAL APIstatic class -
Method Summary
Modifier and TypeMethodDescriptionvoidreportMessageCount(scala.collection.immutable.IndexedSeq<Routee> currentRoutees, long messageCounter) Report the messageCount as well as current routees so that the it can collect metrics.Methods inherited from interface org.apache.pekko.routing.Resizer
isTimeForResize, resize
-
Method Details
-
reportMessageCount
void reportMessageCount(scala.collection.immutable.IndexedSeq<Routee> currentRoutees, long messageCounter) Report the messageCount as well as current routees so that the it can collect metrics. Caution: this method is not thread safe.- Parameters:
currentRoutees-messageCounter-
-