You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by pe...@apache.org on 2005/02/15 10:33:05 UTC
cvs commit: jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/tcp mbeans-descriptors.xml
pero 2005/02/15 01:33:05
Modified: modules/cluster/src/share/org/apache/catalina/cluster/tcp
mbeans-descriptors.xml
Log:
Add more MBeans attributes and operation
Add some statistics attributes
Revision Changes Path
1.3 +178 -16 jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/tcp/mbeans-descriptors.xml
Index: mbeans-descriptors.xml
===================================================================
RCS file: /home/cvs/jakarta-tomcat-catalina/modules/cluster/src/share/org/apache/catalina/cluster/tcp/mbeans-descriptors.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- mbeans-descriptors.xml 11 Feb 2005 19:45:18 -0000 1.2
+++ mbeans-descriptors.xml 15 Feb 2005 09:33:05 -0000 1.3
@@ -74,6 +74,15 @@
<attribute name="ackTimeout"
description="acknowledge timeout"
type="long"/>
+ <attribute name="autoConnect"
+ description="is sender disabled, fork a new one"
+ is="true"
+ type="boolean" />
+ <attribute name="waitForAck"
+ description="Wait for ack after data send"
+ is="true"
+ type="boolean"
+ writeable="false" />
<attribute name="nrOfRequests"
description="number of send messages to other members"
type="long"
@@ -82,18 +91,25 @@
description="number of bytes transfered"
type="long"
writeable="false"/>
-
+ <attribute name="failureCounter"
+ description="number of wrong transfers"
+ type="long"
+ writeable="false"/>
<operation name="start"
description="Start the cluster"
impact="ACTION"
returnType="void">
- </operation>
-
+ </operation>
<operation name="stop"
description="Stop the cluster"
impact="ACTION"
returnType="void">
</operation>
+ <operation name="resetStatistics"
+ description="Reset all statistics"
+ impact="ACTION"
+ returnType="void">
+ </operation>
</mbean>
<mbean name="AsyncSocketSender"
@@ -101,7 +117,10 @@
domain="Catalina"
group="IDataSender"
type="org.apache.catalina.cluster.tcp.AsyncSocketSender">
-
+ <attribute name="info"
+ description="Class version info"
+ type="java.lang.String"
+ writeable="false"/>
<attribute name="address"
description="sender ip address"
type="java.net.InetAddress"
@@ -113,6 +132,11 @@
<attribute name="suspect"
description="Socket is gone"
type="boolean"/>
+ <attribute name="waitForAck"
+ description="Wait for ack after data send"
+ is="true"
+ type="boolean"
+ writeable="false" />
<attribute name="ackTimeout"
description="acknowledge timeout"
type="long"/>
@@ -120,6 +144,24 @@
writeable="false"
description="queue size"
type="int"/>
+ <attribute name="queuedNrOfBytes"
+ writeable="false"
+ description="number of bytes over all queued messages"
+ type="long"/>
+ <attribute name="keepAliveTimeout"
+ description="active socket keep alive timeout"
+ type="long"/>
+ <attribute name="keepAliveMaxRequestCount"
+ description="max request over this socket"
+ type="int"/>
+ <attribute name="keepAliveCount"
+ description="keep Alive request count"
+ type="int"
+ writeable="false"/>
+ <attribute name="keepAliveConnectTime"
+ description="Connect time for keep alive"
+ type="long"
+ writeable="false"/>
<attribute name="connected"
is="true"
description="socket connected"
@@ -133,6 +175,59 @@
description="number of bytes transfered"
type="long"
writeable="false"/>
+ <attribute name="connectCounter"
+ description="counts connects"
+ type="long"
+ writeable="false"/>
+ <attribute name="disconnectCounter"
+ description="counts disconnects"
+ type="long"
+ writeable="false"/>
+ <attribute name="socketOpenCounter"
+ description="counts open socket (KeepAlive and connects)"
+ type="long"
+ writeable="false"/>
+ <attribute name="socketCloseCounter"
+ description="counts closed socket (KeepAlive and disconnects)"
+ type="long"
+ writeable="false"/>
+ <attribute name="missingAckCounter"
+ description="counts missing ack"
+ type="long"
+ writeable="false"/>
+ <attribute name="dataResendCounter"
+ description="counts data resends"
+ type="long"
+ writeable="false"/>
+ <attribute name="inQueueCounter"
+ description="counts all queued messages"
+ type="long"
+ writeable="false"/>
+ <attribute name="outQueueCounter"
+ description="counts all successfully sended messages"
+ type="long"
+ writeable="false"/>
+ <operation name="connect"
+ description="connect to other replication node"
+ impact="ACTION"
+ returnType="void">
+ </operation>
+ <operation name="disconnect"
+ description="disconnect to other replication node"
+ impact="ACTION"
+ returnType="void">
+ </operation>
+ <operation name="checkIfCloseSocket"
+ description="Check connection for close socket"
+ impact="ACTION"
+ returnType="boolean">
+ </operation>
+ <operation name="resetStatistics"
+ description="Reset all statistics"
+ impact="ACTION"
+ returnType="void">
+ </operation>
+
</mbean>
<mbean name="PooledSocketSender"
@@ -140,8 +235,6 @@
domain="Catalina"
group="IDataSender"
type="org.apache.catalina.cluster.tcp.PooledSocketSender">
-
-
<attribute name="address"
description="sender ip address"
type="java.net.InetAddress"
@@ -156,6 +249,11 @@
<attribute name="ackTimeout"
description="acknowledge timeout"
type="long"/>
+ <attribute name="waitForAck"
+ description="Wait for ack after data send"
+ is="true"
+ type="boolean"
+ writeable="false" />
<attribute name="maxPoolSocketLimit"
description="Max parallel sockets"
type="int"/>
@@ -165,14 +263,6 @@
<attribute name="keepAliveMaxRequestCount"
description="max request over this socket"
type="int"/>
- <attribute name="keepAliveCount"
- description="keep Alive request count"
- type="int"
- writeable="false"/>
- <attribute name="keepAliveConnectTime"
- description="Connect time for keep alive"
- type="long"
- writeable="false"/>
<attribute name="connected"
is="true"
description="socket connected"
@@ -186,6 +276,30 @@
description="number of bytes transfered"
type="long"
writeable="false"/>
+ <attribute name="connectCounter"
+ description="counts connects"
+ type="long"
+ writeable="false"/>
+ <attribute name="disconnectCounter"
+ description="counts disconnects"
+ type="long"
+ writeable="false"/>
+ <operation name="connect"
+ description="start Queue to connect to ohter replication node"
+ impact="ACTION"
+ returnType="void">
+ </operation>
+ <operation name="disconnect"
+ description="stop Queue to other replication node"
+ impact="ACTION"
+ returnType="void">
+ </operation>
+ <operation name="resetStatistics"
+ description="Reset all statistics"
+ impact="ACTION"
+ returnType="void">
+ </operation>
+
</mbean>
<mbean name="SocketSender"
@@ -193,8 +307,6 @@
domain="Catalina"
group="IDataSender"
type="org.apache.catalina.cluster.tcp.SocketSender">
-
-
<attribute name="address"
description="sender ip address"
type="java.net.InetAddress"
@@ -209,6 +321,11 @@
<attribute name="ackTimeout"
description="acknowledge timeout"
type="long"/>
+ <attribute name="waitForAck"
+ description="Wait for ack after data send"
+ is="true"
+ type="boolean"
+ writeable="false" />
<attribute name="maxPoolSocketLimit"
description="Max parallel sockets"
type="int"/>
@@ -239,6 +356,51 @@
description="number of bytes transfered"
type="long"
writeable="false"/>
+ <attribute name="connectCounter"
+ description="counts connects"
+ type="long"
+ writeable="false"/>
+ <attribute name="disconnectCounter"
+ description="counts disconnects"
+ type="long"
+ writeable="false"/>
+ <attribute name="socketCloseCounter"
+ description="counts closed socket (KeepAlive and disconnects)"
+ type="long"
+ writeable="false"/>
+ <attribute name="socketOpenCounter"
+ description="counts open socket (KeepAlive and connects)"
+ type="long"
+ writeable="false"/>
+ <attribute name="missingAckCounter"
+ description="counts missing ack"
+ type="long"
+ writeable="false"/>
+ <attribute name="dataResendCounter"
+ description="counts data resends"
+ type="long"
+ writeable="false"/>
+ <operation name="connect"
+ description="connect to other replication node"
+ impact="ACTION"
+ returnType="void">
+ </operation>
+ <operation name="disconnect"
+ description="disconnect to other replication node"
+ impact="ACTION"
+ returnType="void">
+ </operation>
+ <operation name="checkIfCloseSocket"
+ description="Check connection for close socket"
+ impact="ACTION"
+ returnType="boolean">
+ </operation>
+ <operation name="resetStatistics"
+ description="Reset all statistics"
+ impact="ACTION"
+ returnType="void">
+ </operation>
+
</mbean>
<mbean name="ReplicationValve"
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org