| Modifier and Type | Field and Description |
|---|---|
| private int | idleTimeoutInSeconds
The number int seconds a connection may be idle before being timed out. |
| private int | maxRequestsCount
The max number of HTTP requests allowed to be processed on one keep-alive connection. |
| protected final DefaultMonitoringConfig | monitoringConfig
Keep alive probes |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected Object | |
| public int | getIdleTimeoutInSeconds()
Returns: the number in seconds a connection may be idle before being timed out. |
| public int | getMaxRequestsCount()
Returns: the max number of HTTP requests allowed to be processed on one keep-alive connection. |
| public MonitoringConfig | getMonitoringConfig()
Implements org. Return the object associated |
| protected static void | notifyProbesConnectionAccepted(final KeepAlive
the KeepAlive event occurred on. keepAlive, final Connection<L> Connection been accepted.Notify registered |
| protected static void | notifyProbesHit(final KeepAlive
the KeepAlive event occurred on. keepAlive, final Connection<L> Connection been hit.the request number being processed on the given requestNumber)Connection.Notify registered |
| protected static void | notifyProbesRefused(final KeepAlive
the KeepAlive event occurred on. keepAlive, final Connection<L> Connection been refused.Notify registered |
| protected static void | notifyProbesTimeout(final KeepAlive
the KeepAlive event occurred on. keepAlive, final Connection<L> Connection been timeout.Notify registered |
| public void | setIdleTimeoutInSeconds(final int
the number in seconds a connection may be idle before being timed out. Values less than
zero are considered as FOREVER. idleTimeoutInSeconds)Configures idle connection timeout behavior. |
| public void | setMaxRequestsCount(int
the max number of HTTP requests allowed to be processed on one keep-alive connection. Values
less than zero are considered as UNLIMITED. maxRequestsCount)Configures the max number of HTTP requests allowed to be processed on one keep-alive connection. |
| idleTimeoutInSeconds | back to summary |
|---|---|
| private int idleTimeoutInSeconds The number int seconds a connection may be idle before being timed out. | |
| maxRequestsCount | back to summary |
|---|---|
| private int maxRequestsCount The max number of HTTP requests allowed to be processed on one keep-alive connection. | |
| monitoringConfig | back to summary |
|---|---|
| protected final DefaultMonitoringConfig<KeepAliveProbe> monitoringConfig Keep alive probes | |
| KeepAlive | back to summary |
|---|---|
| public KeepAlive() | |
| KeepAlive | back to summary |
|---|---|
| public KeepAlive(final KeepAlive keepAlive) The copy constructor. | |
| createJmxManagementObject | back to summary |
|---|---|
| protected Object createJmxManagementObject() | |
| getIdleTimeoutInSeconds | back to summary |
|---|---|
public int getIdleTimeoutInSeconds()
| |
| getMaxRequestsCount | back to summary |
|---|---|
public int getMaxRequestsCount()
| |
| getMonitoringConfig | back to summary |
|---|---|
| public MonitoringConfig Implements org. Doc from org. Return the object associated
| |
| notifyProbesConnectionAccepted | back to summary |
|---|---|
| protected static void notifyProbesConnectionAccepted(final KeepAlive keepAlive, final Connection<L> connection) Notify registered
| |
| notifyProbesHit | back to summary |
|---|---|
| protected static void notifyProbesHit(final KeepAlive keepAlive, final Connection<L> connection, final int requestNumber) Notify registered
| |
| notifyProbesRefused | back to summary |
|---|---|
| protected static void notifyProbesRefused(final KeepAlive keepAlive, final Connection<L> connection) Notify registered
| |
| notifyProbesTimeout | back to summary |
|---|---|
| protected static void notifyProbesTimeout(final KeepAlive keepAlive, final Connection<L> connection) Notify registered
| |
| setIdleTimeoutInSeconds | back to summary |
|---|---|
| public void setIdleTimeoutInSeconds(final int idleTimeoutInSeconds) Configures idle connection timeout behavior.
| |
| setMaxRequestsCount | back to summary |
|---|---|
| public void setMaxRequestsCount(int maxRequestsCount) Configures the max number of HTTP requests allowed to be processed on one keep-alive connection.
| |