|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface KeepAliveProbe
Monitoring probe providing callbacks that may be invoked by Grizzly KeepAlive.
| Method Summary | |
|---|---|
void |
onConnectionAcceptEvent(Connection connection)
Method will be called, when new keep-alive HTTP connection is getting established. |
void |
onHitEvent(Connection connection,
int requestNumber)
Method will be called, when HTTP request comes on a kept alive connection. |
void |
onRefuseEvent(Connection connection)
Method will be called, when the Connection could be used in the keep alive mode, but due to KeepAlive config limitations it will be closed. |
void |
onTimeoutEvent(Connection connection)
Method will be called, when the keep alive Connection idle timeout expired. |
| Method Detail |
|---|
void onConnectionAcceptEvent(Connection connection)
connection - Connection, the event belongs to.
void onHitEvent(Connection connection,
int requestNumber)
connection - Connection, the event belongs to.requestNumber - HTTP request number, being processed on the given keep-alive connection.void onRefuseEvent(Connection connection)
connection - Connection, the event belongs to.void onTimeoutEvent(Connection connection)
connection - Connection, the event belongs to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||