Package com.sun.xml.ws.transport.tcp.util

Examples of com.sun.xml.ws.transport.tcp.util.ConnectionManagementSettings


                                            MessagesMessages.WSTCP_1130_CONNECTION_MNGMNT_SETTINGS_LOADED(
                                            highWatermark,
                                            maxParallelConnections,
                                            numberToReclaim));
                                }
                                return new ConnectionManagementSettings(highWatermark, maxParallelConnections, numberToReclaim);
                            }
                        }
                    }
                }
            }
        } catch ( Exception ex) {
        }

        return new ConnectionManagementSettings(DEFAULT_VALUE, DEFAULT_VALUE, DEFAULT_VALUE);

    }
View Full Code Here


        removeConnectionSessionBySocketChannel(connectionSession.getConnection().getSocketChannel());
    }
   
    private synchronized void setupInboundConnectionCache() {
        if (connectionCache == null) {
            ConnectionManagementSettings settings =
                    ConnectionManagementSettings.getSettingsHolder().getServerSettings();
           
            int highWatermark = settings.getHighWatermark();
            int numberToReclaim = settings.getNumberToReclaim();
           
            connectionCache = ConnectionCacheFactory.<ServerConnectionSession>makeBlockingInboundConnectionCache("SOAP/TCP server side cache",
                    highWatermark, numberToReclaim, logger);
           
            if (logger.isLoggable(Level.FINE)) {
View Full Code Here

   
    // Cache for outbound connections (orb)
    private volatile OutboundConnectionCache<ConnectionSession> connectionCache;
   
    private WSConnectionManager() {
        ConnectionManagementSettings settings =
                ConnectionManagementSettings.getSettingsHolder().getClientSettings();
        int highWatermark = settings.getHighWatermark();
        int numberToReclaim = settings.getNumberToReclaim();
        int maxParallelConnections = settings.getMaxParallelConnections();
       
        connectionCache = ConnectionCacheFactory.<ConnectionSession>makeBlockingOutboundConnectionCache("SOAP/TCP client side cache",
                highWatermark, numberToReclaim, maxParallelConnections, logger);

        if (logger.isLoggable(Level.FINE)) {
View Full Code Here

TOP

Related Classes of com.sun.xml.ws.transport.tcp.util.ConnectionManagementSettings

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.