|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.grizzly.monitoring.jmx.JmxObject
org.glassfish.grizzly.http.jmx.KeepAlive
@ManagedObject @Description(value="The configuration for HTTP keep-alive connections.") public class KeepAlive
JMX management object for KeepAlive.
| Constructor Summary | |
|---|---|
KeepAlive(KeepAlive keepAlive)
Constructs a new JMX managed KeepAlive for the specified KeepAlive instance. |
|
| Method Summary | |
|---|---|
int |
getConnectionsCount()
|
int |
getHitsCount()
|
int |
getIdleTimeoutInSeconds()
|
java.lang.String |
getJmxName()
|
int |
getMaxRequestsCount()
|
int |
getRefusesCount()
|
int |
getTimeoutsCount()
|
protected void |
onDeregister(GrizzlyJmxManager mom)
|
protected void |
onRegister(GrizzlyJmxManager mom,
org.glassfish.gmbal.GmbalMBean bean)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public KeepAlive(KeepAlive keepAlive)
KeepAlive instance.
keepAlive - the KeepAlive
to manage.| Method Detail |
|---|
public java.lang.String getJmxName()
getJmxName in class JmxObject
protected void onRegister(GrizzlyJmxManager mom,
org.glassfish.gmbal.GmbalMBean bean)
When invoked, this method will add a KeepAliveProbe to track
statistics.
onRegister in class JmxObjectprotected void onDeregister(GrizzlyJmxManager mom)
When invoked, this method will remove the KeepAliveProbe added
by the onRegister(GrizzlyJmxManager, GmbalMBean)
call.
onDeregister in class JmxObject@ManagedAttribute(id="idle-timeout-seconds") @Description(value="The time period keep-alive connection may stay idle") public int getIdleTimeoutInSeconds()
KeepAlive.getIdleTimeoutInSeconds()@ManagedAttribute(id="max-requests-count") @Description(value="the max number of HTTP requests allowed to be processed on one keep-alive connection") public int getMaxRequestsCount()
KeepAlive.getMaxRequestsCount()@ManagedAttribute(id="live-connections-count") @Description(value="The number of live keep-alive connections") public int getConnectionsCount()
@ManagedAttribute(id="hits-count") @Description(value="The number of requests processed on a keep-alive connections.") public int getHitsCount()
@ManagedAttribute(id="refuses-count") @Description(value="The number of times keep-alive mode was refused.") public int getRefusesCount()
@ManagedAttribute(id="timeouts-count") @Description(value="The number of times idle keep-alive connections were closed by timeout.") public int getTimeoutsCount()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||