Skip to content

Instantly share code, notes, and snippets.

Pasindu Nivanthaka Tennage PasinduTennage

Block or report user

Report or block PasinduTennage

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jbrisbin
jbrisbin / DisruptorTest.java
Created Dec 30, 2011
Disruptor RingBuffer-based simplistic NIO HTTP test server
View DisruptorTest.java
import java.io.IOException;
import java.net.InetSocketAddress;
import java.net.ServerSocket;
import java.net.StandardSocketOptions;
import java.nio.ByteBuffer;
import java.nio.channels.CancelledKeyException;
import java.nio.channels.ReadableByteChannel;
import java.nio.channels.SelectionKey;
import java.nio.channels.Selector;
import java.nio.channels.ServerSocketChannel;
You can’t perform that action at this time.