netty5/transport/src
Norman Maurer 731f52fdf7 Allow to inject RejectedExecutionHandler for different EventLoops and EventExecutors
Motiviation:

Sometimes it is useful to allow to specify a custom strategy to handle rejected tasks. For example if someone tries to add tasks from outside the eventloop it may make sense to try to backoff and retries and so give the executor time to recover.

Modification:

Add RejectedEventExecutor interface and implementations and allow to inject it.

Result:

More flexible handling of executor overload.
2016-06-24 17:08:30 +02:00
..
main/java/io/netty Allow to inject RejectedExecutionHandler for different EventLoops and EventExecutors 2016-06-24 17:08:30 +02:00
test/java/io/netty AbstractBootstrap can crash instead of failing promise, close #5387 2016-06-13 18:59:09 +02:00