netty5/microbench/src/main/java/io/netty/microbench
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
..
buffer Implement SWAR indexOf byte search (#10737) 2021-01-15 15:09:50 +01:00
channel Reduce reliance on ScheduledFuture (#11635) 2021-08-31 16:06:34 +02:00
concurrent Reduce reliance on ScheduledFuture (#11635) 2021-08-31 16:06:34 +02:00
handler/ssl Don't take Promise as argument in Channel API. (#11346) 2021-08-25 14:12:33 +02:00
headers Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
http Don't take Promise as argument in Channel API. (#11346) 2021-08-25 14:12:33 +02:00
http2 Make variables final (#11548) 2021-08-06 09:28:12 +02:00
internal Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
redis Don't take Promise as argument in Channel API. (#11346) 2021-08-25 14:12:33 +02:00
search Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
stomp Don't take Promise as argument in Channel API. (#11346) 2021-08-25 14:12:33 +02:00
util Remove deprecated stuff around ResourceLeakDetector (#11572) 2021-08-11 21:41:49 +02:00