netty5/transport/src/main/java/io/netty/channel
Trustin Lee 7884574c7b Remove freeInboundBuffer() and freeOutboundBuffer() which has no value
- Fixes #1308

freeInboundBuffer() and freeOutboundBuffer() were introduced in the early days of the new API when we did not have reference counting mechanism in the buffer. A user did not want Netty to free the handler buffers had to override these methods.

However, now that we have reference counting mechanism built into the buffer, a user who wants to retain the buffers beyond handler's life cycle can simply return the buffer whose reference count is greater than 1 in newInbound/OutboundBuffer().
2013-04-25 09:15:55 +09:00
..
aio Add MultithreadEventLoopGroup.DEFAULT_EVENT_LOOP_THREADS / Add DefaultThreadFactory 2013-04-03 17:49:30 +09:00
embedded Remove freeInboundBuffer() and freeOutboundBuffer() which has no value 2013-04-25 09:15:55 +09:00
group Remove TaskScheduler and ImmediateEventExecutor that requires TaskScheduler 2013-03-22 09:06:08 +09:00
local Add MultithreadEventLoopGroup.DEFAULT_EVENT_LOOP_THREADS / Add DefaultThreadFactory 2013-04-03 17:49:30 +09:00
nio Use progress + total instead of delta 2013-04-15 20:11:02 +09:00
oio Fix intermittent infinite loop in AbstractOioByteChannel.doRead() 2013-04-23 22:12:07 +09:00
socket Reduce exception instantiation overhead in SslHandler / Reduce unnecessary empty array creation 2013-04-24 09:32:53 +09:00
AbstractChannel.java Clean up the pipeline implementation / Ensure Embedded*Channel does not run pending tasks immediately 2013-04-22 19:41:00 +09:00
AbstractServerChannel.java Don'T call ChannelPipeline.fireExceptionCaught(..) for outbound events 2013-02-11 07:19:40 +01:00
Channel.java Revert "[#1058] Add Channel/ChannelHandlerContext/ChannelPipeline.isWritable()" 2013-02-22 14:42:32 +01:00
ChannelConfig.java Allow to specify the used buffer type for ChannelInboundByteBufHandler and ChannelOutboundByteBufHandler by configuration. As default it tries to use a direct ByteBuf 2013-03-08 08:20:46 +01:00
ChannelDuplexHandler.java Remove confusing ChannelState/OperationHandlerAdapter.inboundBufferUpdated/flush() implementation 2013-02-08 17:17:39 +09:00
ChannelException.java Remove apiviz tags - we are focusing on user guide instead and putting diagrams there 2013-02-14 12:09:16 -08:00
ChannelFlushPromiseNotifier.java Rename method to better reflect usage 2013-04-08 08:06:46 +02:00
ChannelFuture.java Let EventExecutor return our Future to allow the user to work also with FutureListener here. Also add a special ScheduledFuture that extends our Future for this purpose. 2013-03-19 10:45:42 +01:00
ChannelFutureListener.java Replace TransferFuture(Listener) with (Channel)ProgressiveFuture(Listener) 2013-04-15 15:26:20 +09:00
ChannelHandler.java ChannelHandler.handlerRemoved() must be invoked *after* the handler has been removed completely and its buffers should be inaccessible. 2013-04-24 18:46:35 +09:00
ChannelHandlerAdapter.java [#1236] Fix problem where adding a new ChannelHandler could block the eventloop 2013-04-19 07:00:50 +02:00
ChannelHandlerContext.java Remove ChannelHandlerContext.types() which is barely useful / Remove ChannelHandlerType together 2013-03-14 14:14:04 +09:00
ChannelHandlerUtil.java Remove special handling of Object[] in codec framework (a.k.a unfolding) 2013-04-03 21:44:54 +09:00
ChannelInboundByteHandler.java Change the thread model slightly for new/freeInbound/OutboundBuffer() for future improvement 2013-04-23 13:06:27 +09:00
ChannelInboundByteHandlerAdapter.java Remove freeInboundBuffer() and freeOutboundBuffer() which has no value 2013-04-25 09:15:55 +09:00
ChannelInboundHandler.java Remove freeInboundBuffer() and freeOutboundBuffer() which has no value 2013-04-25 09:15:55 +09:00
ChannelInboundInvoker.java Fix javadocs 2013-03-01 21:42:08 +01:00
ChannelInboundMessageHandler.java Change the thread model slightly for new/freeInbound/OutboundBuffer() for future improvement 2013-04-23 13:06:27 +09:00
ChannelInboundMessageHandlerAdapter.java Remove freeInboundBuffer() and freeOutboundBuffer() which has no value 2013-04-25 09:15:55 +09:00
ChannelInitializer.java Fix a few typos 2013-04-08 21:23:53 +02:00
ChannelMetadata.java Add javadocs and also some parameter checks in DefaultFileRegion 2012-12-19 08:24:32 +01:00
ChannelOperationHandler.java [#873] [#868] Split ChannelFuture into ChannelFuture and ChannelPromise 2012-12-31 23:27:16 +09:00
ChannelOperationHandlerAdapter.java Javadocs cleanup / added 2013-03-10 21:07:19 +01:00
ChannelOption.java Allow to specify the used buffer type for ChannelInboundByteBufHandler and ChannelOutboundByteBufHandler by configuration. As default it tries to use a direct ByteBuf 2013-03-08 08:20:46 +01:00
ChannelOutboundByteHandler.java Change the thread model slightly for new/freeInbound/OutboundBuffer() for future improvement 2013-04-23 13:06:27 +09:00
ChannelOutboundByteHandlerAdapter.java Remove freeInboundBuffer() and freeOutboundBuffer() which has no value 2013-04-25 09:15:55 +09:00
ChannelOutboundHandler.java Remove freeInboundBuffer() and freeOutboundBuffer() which has no value 2013-04-25 09:15:55 +09:00
ChannelOutboundInvoker.java Fix checkstype 2013-03-12 08:35:24 +01:00
ChannelOutboundMessageHandler.java Make sure we handle outbound messages of type ByteBuf special 2013-03-11 08:59:00 +09:00
ChannelOutboundMessageHandlerAdapter.java Remove freeInboundBuffer() and freeOutboundBuffer() which has no value 2013-04-25 09:15:55 +09:00
ChannelPipeline.java [#858] Merge ChannelPipeline.replaceAndForward into replace and removeAndForward into remove 2013-04-13 18:19:33 +02:00
ChannelPipelineException.java Remove apiviz tags - we are focusing on user guide instead and putting diagrams there 2013-02-14 12:09:16 -08:00
ChannelProgressiveFuture.java Replace TransferFuture(Listener) with (Channel)ProgressiveFuture(Listener) 2013-04-15 15:26:20 +09:00
ChannelProgressiveFutureListener.java Replace TransferFuture(Listener) with (Channel)ProgressiveFuture(Listener) 2013-04-15 15:26:20 +09:00
ChannelProgressivePromise.java Use progress + total instead of delta 2013-04-15 20:11:02 +09:00
ChannelPromise.java Let EventExecutor return our Future to allow the user to work also with FutureListener here. Also add a special ScheduledFuture that extends our Future for this purpose. 2013-03-19 10:45:42 +01:00
ChannelPromiseAggregator.java Use LinkedHashSet 2013-03-11 06:38:39 +01:00
ChannelPromiseNotifier.java [#873] [#868] Split ChannelFuture into ChannelFuture and ChannelPromise 2012-12-31 23:27:16 +09:00
ChannelPropertyAccess.java Use progress + total instead of delta 2013-04-15 20:11:02 +09:00
ChannelStateHandler.java Move exceptionCaught(..) back to ChannelHandler. Related to [#1118] 2013-03-05 07:34:34 +01:00
ChannelStateHandlerAdapter.java Move exceptionCaught(..) back to ChannelHandler. Related to [#1118] 2013-03-05 07:34:34 +01:00
CombinedChannelDuplexHandler.java [#1236] Fix problem where adding a new ChannelHandler could block the eventloop 2013-04-19 07:00:50 +02:00
CompleteChannelFuture.java Let EventExecutor return our Future to allow the user to work also with FutureListener here. Also add a special ScheduledFuture that extends our Future for this purpose. 2013-03-19 10:45:42 +01:00
CompleteChannelPromise.java Let EventExecutor return our Future to allow the user to work also with FutureListener here. Also add a special ScheduledFuture that extends our Future for this purpose. 2013-03-19 10:45:42 +01:00
ConnectTimeoutException.java [#1036] Add special ConnectTimeoutException which is thrown if a connection failed because of a timeout 2013-03-07 20:53:45 +01:00
DefaultChannelConfig.java Allow to specify the used buffer type for ChannelInboundByteBufHandler and ChannelOutboundByteBufHandler by configuration. As default it tries to use a direct ByteBuf 2013-03-08 08:20:46 +01:00
DefaultChannelHandlerContext.java Remove freeInboundBuffer() and freeOutboundBuffer() which has no value 2013-04-25 09:15:55 +09:00
DefaultChannelPipeline.java Remove freeInboundBuffer() and freeOutboundBuffer() which has no value 2013-04-25 09:15:55 +09:00
DefaultChannelProgressivePromise.java Use progress + total instead of delta 2013-04-15 20:11:02 +09:00
DefaultChannelPromise.java Replace TransferFuture(Listener) with (Channel)ProgressiveFuture(Listener) 2013-04-15 15:26:20 +09:00
DefaultFileRegion.java Move logging classes from internal to internal.logging 2013-02-26 14:54:25 -08:00
EventLoop.java [#1065] Provide Future/Promise without channel reference 2013-03-07 07:21:37 +01:00
EventLoopException.java Next round of javadocs cleanup and fixes. Also limit the visibility of FailedChannelFuture 2012-12-18 07:23:42 +01:00
EventLoopGroup.java Allow to get an Iterator over all of the EventExecutor an EventExecutorGroup contains. Beside this allow to get basic stats for the EventExecutor like pendingTasks and executorCount 2013-04-09 15:45:18 +09:00
FailedChannelFuture.java [#1065] Provide Future/Promise without channel reference 2013-03-07 07:21:37 +01:00
FileRegion.java Let FileRegion extend ReferenceCounted and add ChannelGroup.flush() , ChannelGroup.sendFile(..) 2013-02-10 14:25:53 +01:00
IncompleteFlushException.java Allow SingleOutboundMessageHandler.beginFlush() to reject the flush request by returning false / Replace PartialFlushException with IncompleteFlushException which is more correct. 2013-03-12 15:20:46 +09:00
MultithreadEventLoopGroup.java Add MultithreadEventLoopGroup.DEFAULT_EVENT_LOOP_THREADS / Add DefaultThreadFactory 2013-04-03 17:49:30 +09:00
NoSuchBufferException.java [#486] Make NoSuchBufferException give more useful message. 2012-08-20 21:03:23 +09:00
package-info.java Remove apiviz tags - we are focusing on user guide instead and putting diagrams there 2013-02-14 12:09:16 -08:00
ServerChannel.java Revert file mode 2012-07-07 14:39:35 +09:00
SingleThreadEventLoop.java Make SingleThreadEventExecutor independent from TaskScheduler 2013-03-22 09:00:38 +09:00
SucceededChannelFuture.java [#1065] Provide Future/Promise without channel reference 2013-03-07 07:21:37 +01:00
ThreadPerChannelEventLoop.java Make SingleThreadEventExecutor independent from TaskScheduler 2013-03-22 09:00:38 +09:00
ThreadPerChannelEventLoopGroup.java Reduce exception instantiation overhead in SslHandler / Reduce unnecessary empty array creation 2013-04-24 09:32:53 +09:00
VoidChannelPromise.java Let EventExecutor return our Future to allow the user to work also with FutureListener here. Also add a special ScheduledFuture that extends our Future for this purpose. 2013-03-19 10:45:42 +01:00