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