public interface OverloadManager
| Modifier and Type | Method and Description |
|---|---|
void |
addOverloadListener(OverloadListener listener,
double lowThreshold,
double highThreshold,
int qIndex)
Append overload listener
|
void |
parentAppOverloadCeased(ApplicationId id,
int type)
Notifies stack that parent application has overload cased
|
void |
parentAppOverloadDetected(ApplicationId id,
int type,
double value)
Notify stack that parent application has overload
|
void |
removeOverloadListener(OverloadListener listener,
int qIndex)
Remove overload listener
|
void parentAppOverloadDetected(ApplicationId id, int type, double value)
id - Overloaded application id (null for stack owner)type - type of overload (CPU, Memory..)value - value of overloadvoid parentAppOverloadCeased(ApplicationId id, int type)
id - Overloaded application id (null for stack owner)type - type of overload (CPU, Memory..)void addOverloadListener(OverloadListener listener, double lowThreshold, double highThreshold, int qIndex)
listener - overload listener instancelowThreshold - low value of overload threshold (for example 0.8 - 1.0 is overload Range)highThreshold - high value of overload threshold (for example 0.8 - 1.0 is overload Range)qIndex - overload element indexvoid removeOverloadListener(OverloadListener listener, int qIndex)
listener - overload listener instanceqIndex - overload element indexCopyright © 2016. All Rights Reserved.