public class LoadMonitor extends Object
| Constructor and Description |
|---|
LoadMonitor(int windowSize,
int highLoadThreshold,
io.atomix.utils.concurrent.ThreadContext threadContext) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isUnderHighLoad()
Returns a boolean indicating whether the server is under high load.
|
void |
recordEvent()
Records a load event.
|
String |
toString() |
public LoadMonitor(int windowSize,
int highLoadThreshold,
io.atomix.utils.concurrent.ThreadContext threadContext)
Copyright © 2013–2017. All rights reserved.