Package org.apache.catalina.cluster.tcp

Examples of org.apache.catalina.cluster.tcp.ReplicationTransmitter


                                        this.tcpAddress,
                                        this.tcpPort,
                                        this.tcpSelectorTimeout);
            mReplicationListener.setDaemon(true);
            mReplicationListener.start();
            mReplicationTransmitter = new ReplicationTransmitter(new IDataSender[0]);
            mReplicationTransmitter.start();

            //wait 5 seconds to establish the view membership
            log.info("Sleeping for "+(msgFrequency*4)+" secs to establish cluster membership");
            service = MembershipFactory.getMembershipService(serviceclass,svcproperties);
View Full Code Here


        listener.setTcpListenPort(tlp);
        listener.setTcpSelectorTimeout(tlt);
        listener.setTcpThreadCount(tlc);
        //listener.setIsSenderSynchronized(false);

        ReplicationTransmitter trans = new ReplicationTransmitter();
        trans.setReplicationMode(ContainerConfig.getPropertyValue(clusterProps, "replication-mode", "pooled"));

        String mgrClassName = ContainerConfig.getPropertyValue(clusterProps, "manager-class", "org.apache.catalina.cluster.session.DeltaManager");
        //int debug = ContainerConfig.getPropertyValue(clusterProps, "debug", 0);
        // removed since 5.5.9? boolean expireSession = ContainerConfig.getPropertyValue(clusterProps, "expire-session", false);
        // removed since 5.5.9? boolean useDirty = ContainerConfig.getPropertyValue(clusterProps, "use-dirty", true);
View Full Code Here

                                        this.tcpAddress,
                                        this.tcpPort,
                                        this.tcpSelectorTimeout);
            mReplicationListener.setDaemon(true);
            mReplicationListener.start();
            mReplicationTransmitter = new ReplicationTransmitter(new IDataSender[0]);
            mReplicationTransmitter.start();

            //wait 5 seconds to establish the view membership
            log.info("Sleeping for "+(msgFrequency*4)+" secs to establish cluster membership");
            service = MembershipFactory.getMembershipService(serviceclass,svcproperties);
View Full Code Here

TOP

Related Classes of org.apache.catalina.cluster.tcp.ReplicationTransmitter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.