Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Executor executor = Executors.newFixedThreadPool(POOL_SIZE);
- AsynchronousChannelGroup group = AsynchronousChannelGroup.withThreadPool(executor);
- AsynchronousServerSocketChannel channel = AsynchronousServerSocketChannel.open(group);
Add Comment
Please, Sign In to add comment