Package akka.routing
Interface OptimalSizeExploringResizer
-
- All Superinterfaces:
Resizer
- All Known Implementing Classes:
DefaultOptimalSizeExploringResizer
public interface OptimalSizeExploringResizer extends Resizer
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
OptimalSizeExploringResizer.ResizeRecord
INTERNAL APIstatic class
OptimalSizeExploringResizer.ResizeRecord$
static class
OptimalSizeExploringResizer.UnderUtilizationStreak
INTERNAL APIstatic class
OptimalSizeExploringResizer.UnderUtilizationStreak$
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.-
Methods inherited from interface akka.routing.Resizer
isTimeForResize, resize
-
-
-
-
Method Detail
-
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
-
-
-