Search in sources :

Example 1 with NetService

use of io.dingodb.net.NetService in project dingo by dingodb.

the class ExecutorServer method loadNetService.

private NetService loadNetService() {
    NetService netService = ServiceLoader.load(NetServiceProvider.class).iterator().next().get();
    Services.initNetService();
    return netService;
}
Also used : NetServiceProvider(io.dingodb.net.NetServiceProvider) NetService(io.dingodb.net.NetService)

Aggregations

NetService (io.dingodb.net.NetService)1 NetServiceProvider (io.dingodb.net.NetServiceProvider)1