3a52cc410a
use single static initialization of available metrics monitor registries * This changes the original implementation to work in a similar way to how slf4j selects and loads an implementation. * Uses a single static instance so intialization is done only once. * Doesn't throw IllegalStateException if multiple implementations are found on the classpath. It instead selects and uses the first implementation returned by iterator() * Class left as an iterable to keep the API the same add yammer metrics to examples to allow them to publish metrics publish the number of threads used in an EventLoopGroup see issue #718 * seems like the better place to put this because it sets the default thread count if the MultithreadEventLoopGroup uses super(0,...) * It also happens to be the common parent class amongst all the MultiThreadedEventLoopGroup implementations * Count is reported for io.netty.channel.{*,.local,.socket.aio,.socket.nio} fix cosmetic issues pointed out in pull request and updated notice.txt see https://github.com/netty/netty/pull/780 count # of channels registered in single threaded event loop measure how many times Selector.select return before SELECT_TIME
142 lines
4.5 KiB
Plaintext
142 lines
4.5 KiB
Plaintext
|
|
The Netty Project
|
|
=================
|
|
|
|
Please visit the Netty web site for more information:
|
|
|
|
* http://netty.io/
|
|
|
|
Copyright 2011 The Netty Project
|
|
|
|
The Netty Project licenses this file to you under the Apache License,
|
|
version 2.0 (the "License"); you may not use this file except in compliance
|
|
with the License. You may obtain a copy of the License at:
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
License for the specific language governing permissions and limitations
|
|
under the License.
|
|
|
|
Also, please refer to each LICENSE.<component>.txt file, which is located in
|
|
the 'license' directory of the distribution file, for the license terms of the
|
|
components that this product depends on.
|
|
|
|
-------------------------------------------------------------------------------
|
|
This product contains the extensions to Java Collections Framework which has
|
|
been derived from the works by JSR-166 EG, Doug Lea, and Jason T. Greene:
|
|
|
|
* LICENSE:
|
|
* license/LICENSE.jsr166y.txt (Public Domain)
|
|
* HOMEPAGE:
|
|
* http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/
|
|
* http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbosscache/experimental/jsr166/
|
|
|
|
This product contains a modified version of Robert Harder's Public Domain
|
|
Base64 Encoder and Decoder, which can be obtained at:
|
|
|
|
* LICENSE:
|
|
* license/LICENSE.base64.txt (Public Domain)
|
|
* HOMEPAGE:
|
|
* http://iharder.sourceforge.net/current/java/base64/
|
|
|
|
This product contains a modified version of 'JZlib', a re-implementation of
|
|
zlib in pure Java, which can be obtained at:
|
|
|
|
* LICENSE:
|
|
* license/LICENSE.jzlib.txt (BSD Style License)
|
|
* HOMEPAGE:
|
|
* http://www.jcraft.com/jzlib/
|
|
|
|
This product contains a modified portion of 'Webbit', an event based
|
|
WebSocket and HTTP server, which can be obtained at:
|
|
|
|
* LICENSE:
|
|
* license/LICENSE.webbit.txt (BSD License)
|
|
* HOMEPAGE:
|
|
* https://github.com/joewalnes/webbit
|
|
|
|
This product contains a modified portion of 'Caliper', Google's micro-
|
|
benchmarking framework, which can be obtained at::
|
|
|
|
* LICENSE:
|
|
* license/LICENSE.caliper.txt (Apache License 2.0)
|
|
* HOMEPAGE:
|
|
* http://code.google.com/p/caliper/
|
|
|
|
This product optionally depends on 'Metrics', Yammer's JVM- and application-
|
|
level metrics library, which can be obtained at:
|
|
|
|
* LICENSE:
|
|
* license/LICENSE.metrics.txt (Apache License 2.0)
|
|
* HOMEPAGE:
|
|
* http://metrics.codahale.com/
|
|
|
|
This product optionally depends on 'Protocol Buffers', Google's data
|
|
interchange format, which can be obtained at:
|
|
|
|
* LICENSE:
|
|
* license/LICENSE.protobuf.txt (New BSD License)
|
|
* HOMEPAGE:
|
|
* http://code.google.com/p/protobuf/
|
|
|
|
This product optionally depends on 'JBoss Marshalling', an alternative Java
|
|
serialization API, which can be obtained at:
|
|
|
|
* LICENSE:
|
|
* license/LICENSE.jboss-marshalling.txt (GNU LGPL 2.1)
|
|
* HOMEPAGE:
|
|
* http://www.jboss.org/jbossmarshalling
|
|
|
|
This product optionally depends on 'SLF4J', a simple logging facade for Java.
|
|
The monitor registries implementation is based on the approach used by SLF4J.
|
|
|
|
Slf4j can be obtained at:
|
|
|
|
* LICENSE:
|
|
* license/LICENSE.slf4j.txt (MIT License)
|
|
* HOMEPAGE:
|
|
* http://www.slf4j.org/
|
|
|
|
This product optionally depends on 'Apache Commons Logging', a logging
|
|
framework, which can be obtained at:
|
|
|
|
* LICENSE:
|
|
* license/LICENSE.commons-logging.txt (Apache License 2.0)
|
|
* HOMEPAGE:
|
|
* http://commons.apache.org/logging/
|
|
|
|
This product optionally depends on 'Apache Log4J', a logging framework, which
|
|
can be obtained at:
|
|
|
|
* LICENSE:
|
|
* license/LICENSE.log4j.txt (Apache License 2.0)
|
|
* HOMEPAGE:
|
|
* http://logging.apache.org/log4j/
|
|
|
|
This product optionally depends on 'JBoss Logging', a logging framework, which
|
|
can be obtained at:
|
|
|
|
* LICENSE:
|
|
* license/LICENSE.jboss-logging.txt (GNU LGPL 2.1)
|
|
* HOMEPAGE:
|
|
* http://anonsvn.jboss.org/repos/common/common-logging-spi/
|
|
|
|
This product optionally depends on 'OSGi Service Platform API', which can be
|
|
obtained at:
|
|
|
|
* LICENSE:
|
|
* license/LICENSE.osgi.txt (Apache License 2.0)
|
|
* HOMEPAGE:
|
|
* http://www.osgi.org/
|
|
|
|
This product optionally depends on 'Snappy', a compression library produced
|
|
by Google Inc, which can be obtained at:
|
|
|
|
* LICENSE:
|
|
* license/LICENSE.snappy.txt (New BSD License)
|
|
* HOMEPAGE:
|
|
* http://code.google.com/p/snappy/
|