public class ServerTransactionCongestionMonitor extends Object implements org.mobicents.commons.congestion.CongestionMonitor
| Modifier and Type | Field and Description |
|---|---|
protected SipStackExtension |
sipStack |
| Constructor and Description |
|---|
ServerTransactionCongestionMonitor(SipStackExtension sipStack) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCongestionListener(org.mobicents.commons.congestion.CongestionListener listener) |
long |
getBackToNormalServerTransactionsThreshold() |
long |
getServerTransactionsThreshold() |
String |
getSource() |
void |
monitor() |
void |
removeCongestionListener(org.mobicents.commons.congestion.CongestionListener listener) |
void |
setBackToNormalServerTransactionsThreshold(long backToNormalServerTransactionsThreshold) |
void |
setServerTransactionsThreshold(long serverTransactionsThreshold) |
protected SipStackExtension sipStack
public ServerTransactionCongestionMonitor(SipStackExtension sipStack)
public void monitor()
monitor in interface org.mobicents.commons.congestion.CongestionMonitorpublic void addCongestionListener(org.mobicents.commons.congestion.CongestionListener listener)
addCongestionListener in interface org.mobicents.commons.congestion.CongestionMonitorpublic void removeCongestionListener(org.mobicents.commons.congestion.CongestionListener listener)
removeCongestionListener in interface org.mobicents.commons.congestion.CongestionMonitorpublic String getSource()
getSource in interface org.mobicents.commons.congestion.CongestionMonitorpublic long getServerTransactionsThreshold()
public void setServerTransactionsThreshold(long serverTransactionsThreshold)
serverTransactionsThreshold - the serverTransactionsThreshold to setpublic long getBackToNormalServerTransactionsThreshold()
public void setBackToNormalServerTransactionsThreshold(long backToNormalServerTransactionsThreshold)
backToNormalServerTransactionsThreshold - the backToNormalServerTransactionsThreshold to setCopyright © 2016. All Rights Reserved.