Uses of Interface
io.netty.channel.EventLoop
-
Packages that use EventLoop Package Description io.netty.bootstrap The helper classes with fluent API which enable an easy implementation of typical client side and server side channel initialization.io.netty.channel The core channel API which is asynchronous and event-driven abstraction of various transports such as a NIO Channel.io.netty.channel.embedded A virtualChannelthat helps wrapping a series of handlers to unit test the handlers or use them in non-I/O context.io.netty.channel.epoll Optimized transport for linux which uses EPOLL.io.netty.channel.kqueue BSD specific transport.io.netty.channel.local A virtual transport that enables the communication between the two parties in the same virtual machine.io.netty.channel.nio NIO-based channel API implementation - recommended for a large number of connections (>= 1000).io.netty.channel.oio Old blocking I/O based channel API implementation - recommended for a small number of connections (< 1000).io.netty.channel.uring io_uring is a high I/O performance scalable interface for fully asynchronous Linux syscalls.io.netty.handler.codec.http2 Handlers for sending and receiving HTTP/2 frames.io.netty.handler.ssl.ocsp Certificate validation using OCSPio.netty.resolver.dns An alternative to Java's built-in domain name lookup mechanism that resolves a domain name asynchronously, which supports the queries of an arbitrary DNS record type as well. -
-
Uses of EventLoop in io.netty.bootstrap
Methods in io.netty.bootstrap with parameters of type EventLoop Modifier and Type Method Description protected booleanFailedChannel. isCompatible(EventLoop loop) -
Uses of EventLoop in io.netty.channel
Subinterfaces of EventLoop in io.netty.channel Modifier and Type Interface Description interfaceIoEventLoopClasses in io.netty.channel that implement EventLoop Modifier and Type Class Description classAbstractEventLoopSkeletal implementation ofEventLoop.classDefaultEventLoopclassManualIoEventLoopIoEventLoopimplementation that is owned by the user and so needs to be driven by the user manually with the givenThread.classSingleThreadEventLoopAbstract base class forEventLoops that execute all its submitted tasks in a single thread.classSingleThreadIoEventLoopIoEventLoopimplementation that execute all its submitted tasks in a single thread using the providedIoHandler.classThreadPerChannelEventLoopDeprecated.this will be remove in the next-major release.Fields in io.netty.channel declared as EventLoop Modifier and Type Field Description private EventLoopAbstractChannel. eventLoopFields in io.netty.channel with type parameters of type EventLoop Modifier and Type Field Description (package private) java.util.Set<EventLoop>ThreadPerChannelEventLoopGroup. activeChildrenDeprecated.(package private) java.util.Queue<EventLoop>ThreadPerChannelEventLoopGroup. idleChildrenDeprecated.Methods in io.netty.channel that return EventLoop Modifier and Type Method Description EventLoopAbstractChannel. eventLoop()EventLoopChannel. eventLoop()protected EventLoopDefaultEventLoopGroup. newChild(java.util.concurrent.Executor executor, java.lang.Object... args)Deprecated.protected abstract EventLoopMultithreadEventLoopGroup. newChild(java.util.concurrent.Executor executor, java.lang.Object... args)protected EventLoopMultiThreadIoEventLoopGroup. newChild(java.util.concurrent.Executor executor, java.lang.Object... args)protected EventLoopThreadPerChannelEventLoopGroup. newChild(java.lang.Object... args)Deprecated.Creates a newEventLoop.EventLoopAbstractEventLoop. next()abstract EventLoopAbstractEventLoopGroup. next()EventLoopEventLoopGroup. next()Return the nextEventLoopto useEventLoopMultithreadEventLoopGroup. next()EventLoopSingleThreadEventLoop. next()EventLoopThreadPerChannelEventLoopGroup. next()Deprecated.private EventLoopThreadPerChannelEventLoopGroup. nextChild()Deprecated.Methods in io.netty.channel with parameters of type EventLoop Modifier and Type Method Description protected abstract booleanAbstractChannel. isCompatible(EventLoop loop)Returntrueif the givenEventLoopis compatible with this instance.voidAbstractChannel.AbstractUnsafe. register(EventLoop eventLoop, ChannelPromise promise)voidChannel.Unsafe. register(EventLoop eventLoop, ChannelPromise promise)Register theChannelof theChannelPromiseand notify theChannelFutureonce the registration was complete. -
Uses of EventLoop in io.netty.channel.embedded
Classes in io.netty.channel.embedded that implement EventLoop Modifier and Type Class Description (package private) classEmbeddedEventLoopMethods in io.netty.channel.embedded that return EventLoop Modifier and Type Method Description EventLoopEmbeddedEventLoop. next()Methods in io.netty.channel.embedded with parameters of type EventLoop Modifier and Type Method Description protected booleanEmbeddedChannel. isCompatible(EventLoop loop) -
Uses of EventLoop in io.netty.channel.epoll
Classes in io.netty.channel.epoll that implement EventLoop Modifier and Type Class Description classEpollEventLoopDeprecated.UseSingleThreadIoEventLoopwithEpollIoHandlerMethods in io.netty.channel.epoll with parameters of type EventLoop Modifier and Type Method Description protected booleanAbstractEpollChannel. isCompatible(EventLoop loop) -
Uses of EventLoop in io.netty.channel.kqueue
Classes in io.netty.channel.kqueue that implement EventLoop Modifier and Type Class Description private static classKQueueEventLoopGroup.KQueueEventLoopDeprecated.Methods in io.netty.channel.kqueue with parameters of type EventLoop Modifier and Type Method Description protected booleanAbstractKQueueChannel. isCompatible(EventLoop loop) -
Uses of EventLoop in io.netty.channel.local
Methods in io.netty.channel.local with parameters of type EventLoop Modifier and Type Method Description protected booleanLocalChannel. isCompatible(EventLoop loop)protected booleanLocalServerChannel. isCompatible(EventLoop loop) -
Uses of EventLoop in io.netty.channel.nio
Classes in io.netty.channel.nio that implement EventLoop Modifier and Type Class Description classNioEventLoopDeprecated.UseSingleThreadIoEventLoopwithNioIoHandlerMethods in io.netty.channel.nio with parameters of type EventLoop Modifier and Type Method Description protected booleanAbstractNioChannel. isCompatible(EventLoop loop) -
Uses of EventLoop in io.netty.channel.oio
Methods in io.netty.channel.oio with parameters of type EventLoop Modifier and Type Method Description protected booleanAbstractOioChannel. isCompatible(EventLoop loop)Deprecated. -
Uses of EventLoop in io.netty.channel.uring
Methods in io.netty.channel.uring with parameters of type EventLoop Modifier and Type Method Description protected booleanAbstractIoUringChannel. isCompatible(EventLoop loop) -
Uses of EventLoop in io.netty.handler.codec.http2
Methods in io.netty.handler.codec.http2 that return EventLoop Modifier and Type Method Description EventLoopAbstractHttp2StreamChannel. eventLoop()Methods in io.netty.handler.codec.http2 with parameters of type EventLoop Modifier and Type Method Description voidAbstractHttp2StreamChannel.Http2ChannelUnsafe. register(EventLoop eventLoop, ChannelPromise promise) -
Uses of EventLoop in io.netty.handler.ssl.ocsp
Fields in io.netty.handler.ssl.ocsp declared as EventLoop Modifier and Type Field Description private EventLoopIoTransport. eventLoopMethods in io.netty.handler.ssl.ocsp that return EventLoop Modifier and Type Method Description EventLoopIoTransport. eventLoop()Methods in io.netty.handler.ssl.ocsp with parameters of type EventLoop Modifier and Type Method Description static IoTransportIoTransport. create(EventLoop eventLoop, ChannelFactory<SocketChannel> socketChannel, ChannelFactory<DatagramChannel> datagramChannel)Create a newIoTransportinstanceprivate static Promise<org.bouncycastle.cert.ocsp.OCSPResp>OcspClient. query(EventLoop eventLoop, ByteBuf ocspRequest, java.lang.String host, int port, java.lang.String path, IoTransport ioTransport, DnsNameResolver dnsNameResolver)Query the OCSP responder for certificate status using HTTP/1.1Constructors in io.netty.handler.ssl.ocsp with parameters of type EventLoop Constructor Description IoTransport(EventLoop eventLoop, ChannelFactory<SocketChannel> socketChannel, ChannelFactory<DatagramChannel> datagramChannel) -
Uses of EventLoop in io.netty.resolver.dns
Fields in io.netty.resolver.dns declared as EventLoop Modifier and Type Field Description (package private) EventLoopDnsNameResolverBuilder. eventLoopMethods in io.netty.resolver.dns that return EventLoop Modifier and Type Method Description protected EventLoopDnsNameResolver. executor()Methods in io.netty.resolver.dns with parameters of type EventLoop Modifier and Type Method Description (package private) voidCache.Entries. add(E e, int ttl, EventLoop loop)private static java.util.Map<java.lang.String,java.lang.String>DnsResolveContext. buildAliasMap(java.lang.String queryName, DnsResponse response, DnsCnameCache cache, EventLoop loop)voidAuthoritativeDnsServerCache. cache(java.lang.String hostname, java.net.InetSocketAddress address, long originalTtl, EventLoop loop)Caches a nameserver that should be used to resolve the given hostname.voidAuthoritativeDnsServerCacheAdapter. cache(java.lang.String hostname, java.net.InetSocketAddress address, long originalTtl, EventLoop loop)(package private) voidCache. cache(java.lang.String hostname, E value, int ttl, EventLoop loop)Cache a value for the given hostname that will automatically expire once the TTL is reached.voidDefaultAuthoritativeDnsServerCache. cache(java.lang.String hostname, java.net.InetSocketAddress address, long originalTtl, EventLoop loop)DnsCacheEntryDefaultDnsCache. cache(java.lang.String hostname, DnsRecord[] additionals, java.lang.Throwable cause, EventLoop loop)DnsCacheEntryDefaultDnsCache. cache(java.lang.String hostname, DnsRecord[] additionals, java.net.InetAddress address, long originalTtl, EventLoop loop)voidDefaultDnsCnameCache. cache(java.lang.String hostname, java.lang.String cname, long originalTtl, EventLoop loop)DnsCacheEntryDnsCache. cache(java.lang.String hostname, DnsRecord[] additionals, java.lang.Throwable cause, EventLoop loop)Cache the resolution failure for a given hostname.DnsCacheEntryDnsCache. cache(java.lang.String hostname, DnsRecord[] additionals, java.net.InetAddress address, long originalTtl, EventLoop loop)Create a newDnsCacheEntryand cache a resolved address for a given hostname.voidDnsCnameCache. cache(java.lang.String hostname, java.lang.String cname, long originalTtl, EventLoop loop)Caches a cname entry that should be used for the given hostname.private voidDnsResolveContext.AuthoritativeNameServerList. cache(DnsResolveContext.AuthoritativeNameServer server, AuthoritativeDnsServerCache cache, EventLoop loop)voidDnsResolveContext.RedirectAuthoritativeDnsServerCache. cache(java.lang.String hostname, java.net.InetSocketAddress address, long originalTtl, EventLoop loop)voidNoopAuthoritativeDnsServerCache. cache(java.lang.String hostname, java.net.InetSocketAddress address, long originalTtl, EventLoop loop)DnsCacheEntryNoopDnsCache. cache(java.lang.String hostname, DnsRecord[] additional, java.lang.Throwable cause, EventLoop loop)DnsCacheEntryNoopDnsCache. cache(java.lang.String hostname, DnsRecord[] additional, java.net.InetAddress address, long originalTtl, EventLoop loop)voidNoopDnsCnameCache. cache(java.lang.String hostname, java.lang.String cname, long originalTtl, EventLoop loop)private voidDnsResolveContext.AuthoritativeNameServerList. cacheUnresolved(DnsResolveContext.AuthoritativeNameServer server, AuthoritativeDnsServerCache authoritativeCache, EventLoop loop)(package private) java.net.InetAddressDnsAddressResolveContext. convertRecord(DnsRecord record, java.lang.String hostname, DnsRecord[] additionals, EventLoop eventLoop)(package private) DnsRecordDnsRecordResolveContext. convertRecord(DnsRecord record, java.lang.String hostname, DnsRecord[] additionals, EventLoop eventLoop)(package private) abstract TDnsResolveContext. convertRecord(DnsRecord record, java.lang.String hostname, DnsRecord[] additionals, EventLoop eventLoop)Converts the givenDnsRecordintoT.DnsNameResolverBuilderDnsNameResolverBuilder. eventLoop(EventLoop eventLoop)Sets theEventLoopwhich will perform the communication with the DNS servers.protected AddressResolver<java.net.InetSocketAddress>DnsAddressResolverGroup. newAddressResolver(EventLoop eventLoop, NameResolver<java.net.InetAddress> resolver)Creates a newAddressResolver.protected AddressResolver<java.net.InetSocketAddress>RoundRobinDnsAddressResolverGroup. newAddressResolver(EventLoop eventLoop, NameResolver<java.net.InetAddress> resolver)We need to override this method, notDnsAddressResolverGroup.newNameResolver(EventLoop, ChannelFactory, DnsServerAddressStreamProvider), because we need to eliminate possible caching ofNameResolver.resolve(java.lang.String)byInflightNameResolvercreated inDnsAddressResolverGroup.newResolver(EventLoop, ChannelFactory, DnsServerAddressStreamProvider).protected NameResolver<java.net.InetAddress>DnsAddressResolverGroup. newNameResolver(EventLoop eventLoop, ChannelFactory<? extends DatagramChannel> channelFactory, DnsServerAddressStreamProvider nameServerProvider)Creates a newNameResolver.protected AddressResolver<java.net.InetSocketAddress>DnsAddressResolverGroup. newResolver(EventLoop eventLoop, ChannelFactory<? extends DatagramChannel> channelFactory, DnsServerAddressStreamProvider nameServerProvider)private voidCache.Entries. scheduleCacheExpirationIfNeeded(int ttl, EventLoop loop)Constructors in io.netty.resolver.dns with parameters of type EventLoop Constructor Description DnsNameResolver(EventLoop eventLoop, ChannelFactory<? extends DatagramChannel> channelFactory, ChannelFactory<? extends SocketChannel> socketChannelFactory, boolean retryWithTcpOnTimeout, DnsCache resolveCache, DnsCnameCache cnameCache, AuthoritativeDnsServerCache authoritativeDnsServerCache, java.net.SocketAddress localAddress, DnsQueryLifecycleObserverFactory dnsQueryLifecycleObserverFactory, long queryTimeoutMillis, ResolvedAddressTypes resolvedAddressTypes, boolean recursionDesired, int maxQueriesPerResolve, boolean traceEnabled, int maxPayloadSize, boolean optResourceEnabled, HostsFileEntriesResolver hostsFileEntriesResolver, DnsServerAddressStreamProvider dnsServerAddressStreamProvider, DnsServerAddressStream queryDnsServerAddressStream, java.lang.String[] searchDomains, int ndots, boolean decodeIdn, boolean completeOncePreferredResolved, int maxNumConsolidation, DnsNameResolverChannelStrategy datagramChannelStrategy)DnsNameResolver(EventLoop eventLoop, ChannelFactory<? extends DatagramChannel> channelFactory, DnsCache resolveCache, AuthoritativeDnsServerCache authoritativeDnsServerCache, DnsQueryLifecycleObserverFactory dnsQueryLifecycleObserverFactory, long queryTimeoutMillis, ResolvedAddressTypes resolvedAddressTypes, boolean recursionDesired, int maxQueriesPerResolve, boolean traceEnabled, int maxPayloadSize, boolean optResourceEnabled, HostsFileEntriesResolver hostsFileEntriesResolver, DnsServerAddressStreamProvider dnsServerAddressStreamProvider, java.lang.String[] searchDomains, int ndots, boolean decodeIdn)Deprecated.DnsNameResolver(EventLoop eventLoop, ChannelFactory<? extends DatagramChannel> channelFactory, DnsCache resolveCache, DnsCache authoritativeDnsServerCache, DnsQueryLifecycleObserverFactory dnsQueryLifecycleObserverFactory, long queryTimeoutMillis, ResolvedAddressTypes resolvedAddressTypes, boolean recursionDesired, int maxQueriesPerResolve, boolean traceEnabled, int maxPayloadSize, boolean optResourceEnabled, HostsFileEntriesResolver hostsFileEntriesResolver, DnsServerAddressStreamProvider dnsServerAddressStreamProvider, java.lang.String[] searchDomains, int ndots, boolean decodeIdn)Deprecated.DnsNameResolverBuilder(EventLoop eventLoop)Creates a new builder.
-