Go to file
Courtney Robinson 3a52cc410a Add some of the metrics mentioned in #718
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
2013-01-04 11:27:49 +01:00
all Fix the incorrect snapshot version number 2012-12-13 22:49:31 +09:00
buffer Make sure the Unpooled.EMTPY_BUFFER can not be freed and the capacity can not be changed 2013-01-03 22:49:25 +01:00
codec [#884] Split SCTP transport into extra module 2013-01-03 22:19:06 +01:00
codec-http Do not set 'Content-Encoding' if the target encoding is 'identity' 2013-01-01 15:13:35 +09:00
codec-socks Added test cases for NetUtil methods, if we can`t convertAddress we return null 2012-12-29 18:31:53 +01:00
common Add some of the metrics mentioned in #718 2013-01-04 11:27:49 +01:00
example Add some of the metrics mentioned in #718 2013-01-04 11:27:49 +01:00
handler Fix a bug where SslHandler does not respect the startTls flag 2013-01-01 15:03:37 +09:00
license Add Snappy compression codec 2012-12-18 21:09:31 +01:00
metrics-yammer Simpler and more comprehensive method naming in monitor 2012-12-26 13:48:29 +09:00
microbench Remove ChannelBuf/ByteBuf.Unsafe 2012-12-17 17:41:21 +09:00
tarball [#840] Generate the tarball with top level directory 2012-12-30 21:26:08 +01:00
testsuite Don't spin the CPU so much in tests 2013-01-04 07:05:53 +01:00
transport Add some of the metrics mentioned in #718 2013-01-04 11:27:49 +01:00
transport-sctp [#884] Split SCTP transport into extra module 2013-01-03 22:19:06 +01:00
.fbfilter.xml Update license headers 2012-06-04 13:31:44 -07:00
.fbprefs Updated Find Bugs configuration 2009-03-04 10:33:09 +00:00
.gitignore ignore .idea/ folder 2012-01-16 16:01:00 +08:00
LICENSE.txt Relicensed to Apache License v2 2009-08-28 07:15:49 +00:00
NOTICE.txt Add some of the metrics mentioned in #718 2013-01-04 11:27:49 +01:00
pom.xml [#884] Split SCTP transport into extra module 2013-01-03 22:19:06 +01:00
README.md Fix README 2012-09-08 20:20:45 +02:00

The Netty Project

Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers & clients.

Getting Netty

    <dependencies>
      ...
      <dependency>
        <groupId>io.netty</groupId>
        <artifactId>netty</artifactId>
        <version>X.Y.Z.Q</version>
        <scope>compile</scope>
      </dependency>
      ...
    </dependencies>

Developer Information

  • Netty is setup to build using Maven

  • You need JDK 7 to build Netty. Netty will run with JDK 5 (3.x) and JDK 6 (4).

  • master branch contains code for Netty 4.x

  • 3 branch contains code for Netty 3.x