<?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>
