public class CongestionControlEvent extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CongestionControlEvent.Reason |
| Constructor and Description |
|---|
CongestionControlEvent(CongestionControlEvent.Reason reason,
String message) |
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage()
Gives the reason message on what exactly triggered the callback
|
CongestionControlEvent.Reason |
getReason()
Gives the reason on whether the memory usage or CPU usage or any other condition in the future has triggered the callback
|
public CongestionControlEvent(CongestionControlEvent.Reason reason, String message)
public CongestionControlEvent.Reason getReason()
public String getMessage()
Copyright © 2015. All Rights Reserved.