|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OverloadManager
This interface allows to control the stack at overload moment
| Method Summary | |
|---|---|
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 |
| Method Detail |
|---|
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 overload
void 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 index
void removeOverloadListener(OverloadListener listener,
int qIndex)
listener - overload listener instanceqIndex - overload element index
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||