|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.server.port.AbstractSelectManager
public abstract class AbstractSelectManager
A select manager handles keepalive connections.
| Constructor Summary | |
|---|---|
AbstractSelectManager()
|
|
| Method Summary | |
|---|---|
void |
close()
Closing the manager. |
int |
getFreeKeepalive()
Returns the number of available keepalives. |
int |
getSelectCount()
Returns the select count. |
int |
getSelectMax()
Gets the max. |
abstract boolean |
keepalive(TcpConnection conn)
Adds a keepalive connection. |
void |
setSelectMax(int max)
Sets the max. |
void |
setSelectTimeout(long period)
Sets the timeout. |
abstract boolean |
start()
Starts the manager. |
boolean |
stop()
Stops the manager. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractSelectManager()
| Method Detail |
|---|
public void setSelectTimeout(long period)
public void setSelectMax(int max)
public int getSelectMax()
public abstract boolean start()
public abstract boolean keepalive(TcpConnection conn)
conn - the connection to register as keepalive
public int getSelectCount()
public int getFreeKeepalive()
public boolean stop()
public void close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||