Package org.apache.catalina.cluster.tcp

Examples of org.apache.catalina.cluster.tcp.SimpleTcpCluster.send()


                for ( int i=0;i<invalidIds.length; i++ ) {
                    try {
                        SessionMessage imsg = manager.requestCompleted(
                            invalidIds[i]);
                        if (imsg != null)
                            cluster.send(imsg);
                    }catch ( Exception x ) {
                        log("Unable to send session invalid message over cluster.",x,2);
                    }
                }
            }
View Full Code Here


           
            SessionMessage msg = manager.requestCompleted(id);
            if ( msg == null ) return;

           
            cluster.send(msg);
            long stop = System.currentTimeMillis();
            addClusterSendTime(stop-start);
           
        }catch (Exception x)
        {
View Full Code Here

                for ( int i=0;i<invalidIds.length; i++ ) {
                    try {
                        SessionMessage imsg = manager.requestCompleted(
                            invalidIds[i]);
                        if (imsg != null)
                            cluster.send(imsg);
                    }catch ( Exception x ) {
                        log.error("Unable to send session invalid message over cluster.",x);
                    }
                }
            }
View Full Code Here

           
            SessionMessage msg = manager.requestCompleted(id);

            if ( msg == null ) return;

            cluster.send(msg);
            long stop = System.currentTimeMillis();
            addClusterSendTime(stop-start);

        }catch (Exception x)
        {
View Full Code Here

            SimpleTcpCluster cluster = (SimpleTcpCluster)getContainer().getCluster();
            if ( cluster == null ) {
                log("No cluster configured for this request.",2);
                return;
            }
            cluster.send(msg);
        }catch (Exception x)
        {
            log("Unable to perform replication request.",x,2);
        }
    }
View Full Code Here

            SimpleTcpReplicationManager manager = (SimpleTcpReplicationManager)request.getContext().getManager();
            SessionMessage msg = manager.requestCompleted(id);
            if ( msg == null ) return;

           
            cluster.send(msg);
            long stop = System.currentTimeMillis();
            addClusterSendTime(stop-start);
           
        }catch (Exception x)
        {
View Full Code Here

                for ( int i=0;i<invalidIds.length; i++ ) {
                    try {
                        SessionMessage imsg = manager.requestCompleted(
                            invalidIds[i]);
                        if (imsg != null)
                            cluster.send(imsg);
                    }catch ( Exception x ) {
                        log("Unable to send session invalid message over cluster.",x,2);
                    }
                }
            }
View Full Code Here

            SessionMessage msg = manager.requestCompleted(id);
            if ( msg == null ) return;


            cluster.send(msg);
            long stop = System.currentTimeMillis();
            addClusterSendTime(stop-start);

        }catch (Exception x)
        {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.