|
Joram 5.2.6 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.objectweb.joram.mom.proxies.local.LocalConnections
public class LocalConnections
Class used to check off local connections.
| Constructor Summary | |
|---|---|
LocalConnections()
|
|
| Method Summary | |
|---|---|
void |
activate()
Activates the connection manager. |
void |
addLocalConnection(LocalRequestChannel localRequestChannel)
|
void |
closeAllConnections()
Closes all opened connections. |
void |
deactivate()
Deactivates the connection manager. |
static LocalConnections |
getCurrentInstance()
|
int |
getFailedLoginCount()
Gets the number of connections rejected due to a failed authentication. |
int |
getInitiatedConnectionCount()
Gets the number of initiated connections since server start. |
java.lang.String |
getMBeanName()
Gets the name of the MBean. |
int |
getRunningConnectionsCount()
Gets the number of living connections. |
void |
increaseFailedLoginCount()
|
void |
increaseInitiatedConnectionCount()
|
boolean |
isActivated()
Tells if the ConnectionManager is active. |
void |
removeLocalConnection(LocalRequestChannel localRequestChannel)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LocalConnections()
| Method Detail |
|---|
public void activate()
ConnectionManagerMBean
activate in interface ConnectionManagerMBeanpublic void closeAllConnections()
ConnectionManagerMBean
closeAllConnections in interface ConnectionManagerMBeanpublic void deactivate()
ConnectionManagerMBean
deactivate in interface ConnectionManagerMBeanpublic int getRunningConnectionsCount()
ConnectionManagerMBean
getRunningConnectionsCount in interface ConnectionManagerMBeanpublic boolean isActivated()
ConnectionManagerMBean
isActivated in interface ConnectionManagerMBeanpublic void addLocalConnection(LocalRequestChannel localRequestChannel)
public void removeLocalConnection(LocalRequestChannel localRequestChannel)
public static LocalConnections getCurrentInstance()
public java.lang.String getMBeanName()
ConnectionManagerMBean
getMBeanName in interface ConnectionManagerMBeanpublic int getFailedLoginCount()
ConnectionManagerMBean
getFailedLoginCount in interface ConnectionManagerMBeanpublic void increaseFailedLoginCount()
public int getInitiatedConnectionCount()
ConnectionManagerMBean
getInitiatedConnectionCount in interface ConnectionManagerMBeanpublic void increaseInitiatedConnectionCount()
|
Joram 5.2.6 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||