|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.server.port.Throttle
com.caucho.server.port.ProThrottle
public class ProThrottle
Throttles connections
| Constructor Summary | |
|---|---|
ProThrottle()
|
|
| Method Summary | |
|---|---|
boolean |
accept(QSocket socket)
|
void |
close(QSocket socket)
|
int |
getMaxConcurrentRequests()
|
int |
getRequestCount()
|
void |
setMaxConcurrentRequests(int maxConcurrentRequests)
|
| Methods inherited from class com.caucho.server.port.Throttle |
|---|
createPro |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProThrottle()
| Method Detail |
|---|
public int getMaxConcurrentRequests()
getMaxConcurrentRequests in class Throttlepublic void setMaxConcurrentRequests(int maxConcurrentRequests)
setMaxConcurrentRequests in class Throttlepublic int getRequestCount()
public boolean accept(QSocket socket)
accept in class Throttlepublic void close(QSocket socket)
close in class Throttle
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||