Package org.apache.qpid.server.logging.subjects

Examples of org.apache.qpid.server.logging.subjects.PortLogSubject


        int maxOpenConnections = getMaxOpenConnections();
        if(maxOpenConnections > 0
           && openConnections > (maxOpenConnections * getContextValue(Integer.class, OPEN_CONNECTIONS_WARN_PERCENT)) / 100
           && _connectionCountWarningGiven.compareAndSet(false, true))
        {
            _broker.getEventLogger().message(new PortLogSubject(this),
                                             PortMessages.CONNECTION_COUNT_WARN(openConnections,
                                                                                getContextValue(Integer.class, OPEN_CONNECTIONS_WARN_PERCENT),
                                                                                maxOpenConnections));
        }
        return openConnections;
View Full Code Here


                                                  ID_GENERATOR.getAndIncrement(),
                                                  _creators, _connectionCountDecrementingTask);
        }
        else
        {
            _broker.getEventLogger().message(new PortLogSubject(_port),
                                             PortMessages.CONNECTION_REJECTED(remoteSocketAddress.toString()));

            return null;
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.qpid.server.logging.subjects.PortLogSubject

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.