|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
See:
Description
| Class Summary | |
|---|---|
| AsyncRequestHandler | AsyncRequestHandler manages a Selector, SocketChannel, and RequestHandler implementation. |
| NioSocketService | NioSocketService is an NIO-based socket service, comparable to the blocking-IO-based socket service. |
| SelectorManager | SelectorManager handles the non-blocking polling of IO events using the Selector/SelectionKey APIs from NIO. |
The Voldemort NIO socket server implementation.
The NIO server is enabled in the server.properties file by setting the "enable.nio.connector" property to "true". If you want to adjust the number of SelectorManager instances that are used, change "nio.connector.selectors" to a positive integer value. Otherwise, the number of selectors will be equal to the number of CPUs visible to the JVM.
|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||