netty5/transport-native-epoll/src/main/java/io/netty/channel/epoll
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
..
AbstractEpollChannel.java Reduce reliance on ScheduledFuture (#11635) 2021-08-31 16:06:34 +02:00
AbstractEpollServerChannel.java Add executor() to ChannelOutboundInvoker and let it replace eventLoop() (#11617) 2021-08-25 18:31:24 +02:00
AbstractEpollStreamChannel.java Add executor() to ChannelOutboundInvoker and let it replace eventLoop() (#11617) 2021-08-25 18:31:24 +02:00
Epoll.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
EpollChannelConfig.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
EpollChannelOption.java Make the TCP_FASTOPEN channel option transport agnostic (#11559) 2021-08-10 09:07:43 +02:00
EpollDatagramChannel.java Add executor() to ChannelOutboundInvoker and let it replace eventLoop() (#11617) 2021-08-25 18:31:24 +02:00
EpollDatagramChannelConfig.java Add support for UDP_GRO (#11120) 2021-03-29 08:53:46 +02:00
EpollDomainDatagramChannel.java Add executor() to ChannelOutboundInvoker and let it replace eventLoop() (#11617) 2021-08-25 18:31:24 +02:00
EpollDomainDatagramChannelConfig.java Add support for Unix domain datagram sockets when using native epoll/kqueue transport (#11476) 2021-07-12 08:45:10 +02:00
EpollDomainSocketChannel.java Remove Void*Promise (#11348) 2021-06-08 14:22:16 +02:00
EpollDomainSocketChannelConfig.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
EpollDuplexChannelConfig.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
EpollEventArray.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
EpollEventLoopGroup.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
EpollHandler.java Clean up Future/Promises API (#11575) 2021-08-20 09:55:16 +02:00
EpollRecvByteAllocatorHandle.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
EpollRecvByteAllocatorStreamingHandle.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
EpollRegistration.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
EpollServerChannelConfig.java Make the TCP_FASTOPEN channel option transport agnostic (#11559) 2021-08-10 09:07:43 +02:00
EpollServerDomainSocketChannel.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
EpollServerSocketChannel.java SslHandler flushing with TCP Fast Open fix (#11077) 2021-03-14 14:27:10 +01:00
EpollServerSocketChannelConfig.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
EpollSocketChannel.java SslHandler flushing with TCP Fast Open fix (#11077) 2021-03-14 14:27:10 +01:00
EpollSocketChannelConfig.java TCP Fast Open for clients (#11006) 2021-02-15 14:29:03 +01:00
EpollTcpInfo.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
LinuxSocket.java Add support for Unix domain datagram sockets when using native epoll/kqueue transport (#11476) 2021-07-12 08:45:10 +02:00
Native.java Use PlatformDependent#normalizedOs() instead of reading os.name prop (#11239) 2021-05-11 08:53:47 +02:00
NativeDatagramPacketArray.java Fix support for IP_RECVORIGDSTADDR when using native epoll transport (#11173) 2021-04-21 16:04:32 +02:00
NativeStaticallyReferencedJniMethods.java SslHandler flushing with TCP Fast Open fix (#11077) 2021-03-14 14:27:10 +01:00
package-info.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
SegmentedDatagramPacket.java Move SegmentedDatagramPacket to transport-native-unix-common (#11121) 2021-03-29 14:10:38 +02:00
TcpMd5Util.java Utilize i.n.u.internal.ObjectUtil to assert Preconditions (transport*) (#11170) (#11181) 2021-04-22 14:20:18 +02:00