Search in sources :

Example 1 with NodeIOService

use of com.hazelcast.nio.NodeIOService in project hazelcast by hazelcast.

the class DefaultNodeContext method createConnectionManager.

@Override
public ConnectionManager createConnectionManager(Node node, ServerSocketChannel serverSocketChannel) {
    NodeIOService ioService = new NodeIOService(node, node.nodeEngine);
    IOThreadingModel ioThreadingModel = createTcpIpConnectionThreadingModel(node, ioService);
    return new TcpIpConnectionManager(ioService, serverSocketChannel, node.loggingService, node.nodeEngine.getMetricsRegistry(), ioThreadingModel);
}
Also used : NodeIOService(com.hazelcast.nio.NodeIOService) SpinningIOThreadingModel(com.hazelcast.internal.networking.spinning.SpinningIOThreadingModel) IOThreadingModel(com.hazelcast.internal.networking.IOThreadingModel) NonBlockingIOThreadingModel(com.hazelcast.internal.networking.nonblocking.NonBlockingIOThreadingModel) TcpIpConnectionManager(com.hazelcast.nio.tcp.TcpIpConnectionManager)

Aggregations

IOThreadingModel (com.hazelcast.internal.networking.IOThreadingModel)1 NonBlockingIOThreadingModel (com.hazelcast.internal.networking.nonblocking.NonBlockingIOThreadingModel)1 SpinningIOThreadingModel (com.hazelcast.internal.networking.spinning.SpinningIOThreadingModel)1 NodeIOService (com.hazelcast.nio.NodeIOService)1 TcpIpConnectionManager (com.hazelcast.nio.tcp.TcpIpConnectionManager)1