alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Tomcat example source code file (mbeans-descriptors.xml)

This example Tomcat source code file (mbeans-descriptors.xml) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Tomcat tags/keywords

apache, apache, asf, cluster, cluster, complete, license, license, multicast, multicast, see, software, timeout, you

The Tomcat mbeans-descriptors.xml source code

<?xml version="1.0" encoding="UTF-8"?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one or more
  contributor license agreements.  See the NOTICE file distributed with
  this work for additional information regarding copyright ownership.
  The ASF licenses this file to You under the Apache License, Version 2.0
  (the "License"); you may not use this file except in compliance with
  the License.  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
-->
<!DOCTYPE mbeans-descriptors PUBLIC
   "-//Apache Software Foundation//DTD Model MBeans Configuration File"
   "http://jakarta.apache.org/commons/dtds/mbeans-descriptors.dtd">
<mbeans-descriptors>

  <mbean         name="McastService"
           description="Cluster Membership service implementation"
               domain="Catalina"
                group="Cluster"
                 type="org.apache.catalina.tribes.membership.McastService">
    <attribute   name="info"
          description="Class version info"
                 type="java.lang.String"
                 writeable="false"/>
    <attribute   name="mcastAddr"
          description="Multicast IP Address"
                 type="java.lang.String"/>
    <attribute   name="mcastBindAddress"
          description="Multicast IP Interface address (default auto)"
                 type="java.lang.String"/>
    <attribute   name="mcastPort"
          description="Multicast UDP Port"
                 type="int"/>
    <attribute   name="mcastFrequency"
          description="Ping Frequency at msec"
                 type="long"/>
    <attribute   name="mcastClusterDomain"
          description="Cluster Domain of this member"
                 type="java.lang.String"/>
    <attribute   name="mcastDropTime"
          description="Timeout from frequency ping after member disapper notify"
                 type="long"/>
    <attribute   name="mcastSoTimeout"
          description="Multicast Socket Timeout"
                 type="int"/>
    <attribute   name="mcastTTL"
          description=""
                 type="int"/>
    <attribute   name="recoveryCounter"
          description="Counter after membership failure socket restarted"
                 type="int"/>
    <attribute   name="recoveryEnabled"
          description="Membership recovery enabled"
                   is="true"
                 type="boolean"/>
    <attribute   name="recoverySleepTime"
          description="Sleep time between next socket recovery (5000 msec)"
                 type="long"/> 
    <attribute   name="localMemberName"
          description="Complete local receiver information"
                 type="java.lang.String"
                 writeable="false"/>
    <attribute   name="membersByName"
          description="Complete remote sender information"
                 type="[Ljava.lang.String;"
                 writeable="false"/>

    <operation   name="start"
               description="Start the cluster membership"
               impact="ACTION"
               returnType="void">
    </operation>
    
    <operation name="stop"
               description="Stop the cluster membership"
               impact="ACTION"
               returnType="void">
    </operation>
                 
  </mbean>

</mbeans-descriptors>

Other Tomcat examples (source code examples)

Here is a short list of links related to this Tomcat mbeans-descriptors.xml source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.