|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.james.util.connection.ConnectionPerIpMap
public class ConnectionPerIpMap
Map which holds information about the connection count per ip
| Constructor Summary | |
|---|---|
ConnectionPerIpMap()
|
|
| Method Summary | |
|---|---|
void |
addConnectionPerIP(java.lang.String ip)
Raise the connectionCount for the given ipAdrress |
void |
clearConnectionPerIP()
Clear the connection count map |
int |
getConnectionPerIP(java.lang.String ip)
Get the count of connections for the given ip |
void |
removeConnectionPerIP(java.lang.String ip)
Set the connection count for the given ipAddress |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConnectionPerIpMap()
| Method Detail |
|---|
public void addConnectionPerIP(java.lang.String ip)
ip - raise the connectionCount for the given ipAddresspublic int getConnectionPerIP(java.lang.String ip)
ip - the ipAddress to get the connections for.
public void removeConnectionPerIP(java.lang.String ip)
ip - ipAddres for which we want to set the countpublic void clearConnectionPerIP()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||