MCPcopy Create free account
hub / github.com/grpc/grpc-java / epollChannelType

Method epollChannelType

netty/src/main/java/io/grpc/netty/Utils.java:395–403  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

393
394 // Must call when epoll is available
395 private static Class<? extends Channel> epollChannelType() {
396 try {
397 Class<? extends Channel> channelType = Class
398 .forName("io.netty.channel.epoll.EpollSocketChannel").asSubclass(Channel.class);
399 return channelType;
400 } catch (ClassNotFoundException e) {
401 throw new RuntimeException("Cannot load EpollSocketChannel", e);
402 }
403 }
404
405 // Must call when epoll is available
406 private static Class<? extends Channel> epollDomainSocketChannelType() {

Callers 1

UtilsClass · 0.95

Calls 1

forNameMethod · 0.45

Tested by

no test coverage detected