All Downloads are FREE. Search and download functionalities are using the official Maven repository.

groups.5.4.1.Final.source-code.jdbc-hsql.xml Maven / Gradle / Ivy

The newest version!
<!--
JDBC_PING2 for hsqldb
-->
<config xmlns="urn:org:jgroups"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="urn:org:jgroups http://www.jgroups.org/schema/jgroups.xsd">
    <TCP
            bind_addr="${jgroups.bind_addr:match-address:192.168.1.110}"
            bind_port="${jgroups.bind_port:7800}"
            port_range="50"
            recv_buf_size="150000"
            send_buf_size="640000"
            sock_conn_timeout="300ms"
    />

    <!-- Uncomment attributes 'insert_sp' and 'call_insert_sp' if you want to use stored procedures -->
    <JDBC_PING2
            connection_driver="org.hsqldb.jdbc.JDBCDriver"
            connection_url="jdbc:hsqldb:hsql://localhost"
            connection_username="SA"
            connection_password=""
            remove_all_data_on_view_change="true"
            register_shutdown_hook="true"
            return_entire_cache="false"
            <!--
            insert_sp="CREATE PROCEDURE deleteAndInsert
                               (IN addr varchar(200), IN name varchar(200), IN cluster varchar(200),
                                IN ip varchar(200), IN coord boolean)
                               MODIFIES SQL DATA
                               BEGIN ATOMIC
                               DELETE FROM jgroups WHERE address = addr;
                               INSERT INTO jgroups VALUES (addr, name, cluster, ip, coord);
                               END"
            call_insert_sp="call deleteAndInsert(?,?,?,?,?);"
            -->
    />
    <MERGE3 min_interval="10s"
            max_interval="30s"/>
    <FD_SOCK2/>
    <FD_ALL3 timeout="40s" interval="5s" />
    <VERIFY_SUSPECT2 />
    <pbcast.NAKACK2
            use_mcast_xmit="false"
            xmit_interval="100ms"/>
    <UNICAST3
            xmit_interval="100ms"/>
    <pbcast.STABLE
            desired_avg_gossip="5s"
            max_bytes="1000000"/>
    <pbcast.GMS
            print_local_addr="false"
            join_timeout="1s"
            max_join_attempts="1"/>
    <UFC max_credits="2000000"
         min_threshold="0.40"/>
    <MFC max_credits="2000000"
         min_threshold="0.4"/>
    <FRAG3 frag_size="60000"  />
    <pbcast.STATE_TRANSFER/>
</config>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy