netty5/transport-native-kqueue/src/main/java/io/netty/channel/kqueue
Chris Vest 782d70281e
Reduce reliance on ScheduledFuture (#11635)
Motivation:
If we don't need the scheduled future, then it will be one less complication when we change Netty Future to no longer extend JDK Future.
It would also result in fewer elements in our API.

Modification:
There was only one real use of ScheduledFuture in our code, in Cache.
This has been changed to wrap an ordinary future with a deadline for implementing the Delayed interface.
All other places were effectively overspecifying by relying on ScheduledFuture.
A few places were also specifying JDK Futures - these have been changed to specify Netty Futures.

Result:
Reduced dependency on the ScheduledFuture interfaces.
2021-08-31 16:06:34 +02:00
..
AbstractKQueueChannel.java Reduce reliance on ScheduledFuture (#11635) 2021-08-31 16:06:34 +02:00
AbstractKQueueDatagramChannel.java Add support for Unix domain datagram sockets when using native epoll/kqueue transport (#11476) 2021-07-12 08:45:10 +02:00
AbstractKQueueServerChannel.java Add executor() to ChannelOutboundInvoker and let it replace eventLoop() (#11617) 2021-08-25 18:31:24 +02:00
AbstractKQueueStreamChannel.java Add executor() to ChannelOutboundInvoker and let it replace eventLoop() (#11617) 2021-08-25 18:31:24 +02:00
AcceptFilter.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
BsdSocket.java Fix a problem with IP protocol version confusion on MacOS when TCP FastOpen is enabled (#11588) 2021-08-18 20:47:56 +02:00
KQueue.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
KQueueChannelConfig.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
KQueueChannelOption.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
KQueueDatagramChannel.java Add executor() to ChannelOutboundInvoker and let it replace eventLoop() (#11617) 2021-08-25 18:31:24 +02:00
KQueueDatagramChannelConfig.java Allow to configure the maximum number of message to write per eventloop (#11086) 2021-03-17 13:09:18 +01:00
KQueueDomainDatagramChannel.java Add executor() to ChannelOutboundInvoker and let it replace eventLoop() (#11617) 2021-08-25 18:31:24 +02:00
KQueueDomainDatagramChannelConfig.java Add support for Unix domain datagram sockets when using native epoll/kqueue transport (#11476) 2021-07-12 08:45:10 +02:00
KQueueDomainSocketChannel.java Remove Void*Promise (#11348) 2021-06-08 14:22:16 +02:00
KQueueDomainSocketChannelConfig.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
KQueueDuplexChannelConfig.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
KQueueEventArray.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
KQueueEventLoopGroup.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
KQueueHandler.java Clean up Future/Promises API (#11575) 2021-08-20 09:55:16 +02:00
KQueueRecvByteAllocatorHandle.java Fix a number of javadoc issues (#11544) 2021-08-06 09:14:04 +02:00
KQueueRegistration.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
KQueueServerChannelConfig.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
KQueueServerDomainSocketChannel.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
KQueueServerSocketChannel.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
KQueueServerSocketChannelConfig.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
KQueueSocketChannel.java Add support for client-side TCP FastOpen to KQueue MacOS (#11560) 2021-08-12 13:50:34 +02:00
KQueueSocketChannelConfig.java Add support for client-side TCP FastOpen to KQueue MacOS (#11560) 2021-08-12 13:50:34 +02:00
KQueueStaticallyReferencedJniMethods.java Add support for client-side TCP FastOpen to KQueue MacOS (#11560) 2021-08-12 13:50:34 +02:00
Native.java Add support for client-side TCP FastOpen to KQueue MacOS (#11560) 2021-08-12 13:50:34 +02:00
package-info.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00