netty5/transport/src/main/java/io/netty/channel
Norman Maurer 411e786a6f Add default methods to EventExecutor / EventExecutorGroup / EventLoop / EventLoopGroup
Motivation:

We can remove some classes and duplication if we add default methods

Modifications:

- Add default methods to EventExecutor / EventExecutorGroup / EventLoop / EventLoopGroup
- Remove code duplication
- Remove AbstractEventExecutorGroup as it is not needed anymore

Result:

Cleanup and removal of code-duplication. Also makes it easier for people to implement their custom executors / groups
2021-09-02 20:12:56 +02:00
..
embedded Change !future.isSuccess() to future.isFailed() where it makes sense (#11616) 2021-08-26 09:43:17 +02:00
group Change !future.isSuccess() to future.isFailed() where it makes sense (#11616) 2021-08-26 09:43:17 +02:00
internal Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
local Add executor() to ChannelOutboundInvoker and let it replace eventLoop() (#11617) 2021-08-25 18:31:24 +02:00
nio Make Promise not extend Future (#11634) 2021-09-02 10:46:54 +02:00
socket Make Promise not extend Future (#11634) 2021-09-02 10:46:54 +02:00
AbstractChannel.java Add executor() to ChannelOutboundInvoker and let it replace eventLoop() (#11617) 2021-08-25 18:31:24 +02:00
AbstractCoalescingBufferQueue.java Make Promise not extend Future (#11634) 2021-09-02 10:46:54 +02:00
AbstractServerChannel.java Clean up Future/Promises API (#11575) 2021-08-20 09:55:16 +02:00
AdaptiveRecvByteBufAllocator.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
AddressedEnvelope.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
Channel.java Add executor() to ChannelOutboundInvoker and let it replace eventLoop() (#11617) 2021-08-25 18:31:24 +02:00
ChannelConfig.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
ChannelException.java Remove overrides of Throwable.fillInStackTrace (#11514) 2021-07-27 13:29:09 +02:00
ChannelFactory.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
ChannelFutureListeners.java Make our ChannelFutureListeners less restrictive (#11627) 2021-08-30 13:14:33 +02:00
ChannelHandler.java Don't take Promise as argument in Channel API. (#11346) 2021-08-25 14:12:33 +02:00
ChannelHandlerAdapter.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
ChannelHandlerContext.java Add executor() to ChannelOutboundInvoker and let it replace eventLoop() (#11617) 2021-08-25 18:31:24 +02:00
ChannelHandlerMask.java Don't take Promise as argument in Channel API. (#11346) 2021-08-25 14:12:33 +02:00
ChannelId.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
ChannelInboundHandler.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
ChannelInboundInvoker.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
ChannelInitializer.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
ChannelMetadata.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
ChannelOption.java Make the TCP_FASTOPEN channel option transport agnostic (#11559) 2021-08-10 09:07:43 +02:00
ChannelOutboundBuffer.java Add executor() to ChannelOutboundInvoker and let it replace eventLoop() (#11617) 2021-08-25 18:31:24 +02:00
ChannelOutboundInvoker.java Add executor() to ChannelOutboundInvoker and let it replace eventLoop() (#11617) 2021-08-25 18:31:24 +02:00
ChannelPipeline.java Remove deprecated Channel*Handler* classes (#11615) 2021-08-25 19:04:32 +02:00
ChannelPipelineException.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
CoalescingBufferQueue.java Clean up Future/Promises API (#11575) 2021-08-20 09:55:16 +02:00
CombinedChannelDuplexHandler.java Don't take Promise as argument in Channel API. (#11346) 2021-08-25 14:12:33 +02:00
ConnectTimeoutException.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
DefaultAddressedEnvelope.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
DefaultChannelConfig.java Utilize i.n.u.internal.ObjectUtil to assert Preconditions (transport*) (#11170) (#11181) 2021-04-22 14:20:18 +02:00
DefaultChannelHandlerContext.java Make Promise not extend Future (#11634) 2021-09-02 10:46:54 +02:00
DefaultChannelId.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
DefaultChannelPipeline.java Make Promise not extend Future (#11634) 2021-09-02 10:46:54 +02:00
DefaultFileRegion.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
DefaultMaxBytesRecvByteBufAllocator.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
DefaultMaxMessagesRecvByteBufAllocator.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
DefaultMessageSizeEstimator.java Introduce ByteBufConvertible interface (#11036) 2021-02-26 15:03:58 +01:00
DefaultSelectStrategy.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
DefaultSelectStrategyFactory.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
EventLoop.java Add default methods to EventExecutor / EventExecutorGroup / EventLoop / EventLoopGroup 2021-09-02 20:12:56 +02:00
EventLoopException.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
EventLoopGroup.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
FileRegion.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
FixedRecvByteBufAllocator.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
IoExecutionContext.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
IoHandler.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
IoHandlerFactory.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
MaxBytesRecvByteBufAllocator.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
MaxMessagesRecvByteBufAllocator.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
MessageSizeEstimator.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
MultithreadEventLoopGroup.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
package-info.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
PendingBytesTracker.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
PendingWriteQueue.java Make Promise not extend Future (#11634) 2021-09-02 10:46:54 +02:00
PreferHeapByteBufAllocator.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
RecvByteBufAllocator.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
ReflectiveChannelFactory.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
ReflectiveServerChannelFactory.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
SelectStrategy.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
SelectStrategyFactory.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
ServerChannel.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
ServerChannelFactory.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
SimpleChannelInboundHandler.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
SimpleUserEventChannelHandler.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
SingleThreadEventLoop.java Add default methods to EventExecutor / EventExecutorGroup / EventLoop / EventLoopGroup 2021-09-02 20:12:56 +02:00
StacklessClosedChannelException.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00
WriteBufferWaterMark.java Enable nohttp check during the build (#10708) 2020-10-23 15:26:25 +02:00