Package io.netty.util.concurrent

Examples of io.netty.util.concurrent.SingleThreadEventExecutor.pendingTasks()


                        registry.register(
                                name(Utils.DEFAULT_METRIC_PREFIX, this.getClass().getSimpleName(), "executor-" + count++, "pendingTasks"),
                                new Gauge<Integer>() {
                                    @Override
                                    public Integer getValue() {
                                        return executor.pendingTasks();
                                    }
                                });
                    } catch (IllegalArgumentException e) {
                        // Assume this is due to multiple instances
                    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.