Class SharedEventLoopGroup
java.lang.Object
org.apache.activemq.artemis.core.remoting.impl.netty.DelegatingEventLoopGroup
org.apache.activemq.artemis.core.remoting.impl.netty.SharedEventLoopGroup
- All Implemented Interfaces:
io.netty.channel.EventLoopGroup,io.netty.util.concurrent.EventExecutorGroup,Iterable<io.netty.util.concurrent.EventExecutor>,Executor,ExecutorService,ScheduledExecutorService
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic SharedEventLoopGroupgetInstance(Function<ThreadFactory, io.netty.channel.EventLoopGroup> eventLoopGroupSupplier) io.netty.util.concurrent.Future<?>io.netty.util.concurrent.Future<?>shutdownGracefully(long l, long l2, TimeUnit timeUnit) io.netty.util.concurrent.Future<?>Methods inherited from class org.apache.activemq.artemis.core.remoting.impl.netty.DelegatingEventLoopGroup
awaitTermination, execute, forEach, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isShuttingDown, isTerminated, iterator, next, register, register, register, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, shutdown, shutdownNow, spliterator, submit, submit, submit
-
Method Details
-
forceShutdown
public static void forceShutdown() -
getInstance
public static SharedEventLoopGroup getInstance(Function<ThreadFactory, io.netty.channel.EventLoopGroup> eventLoopGroupSupplier) -
terminationFuture
public io.netty.util.concurrent.Future<?> terminationFuture()- Specified by:
terminationFuturein interfaceio.netty.util.concurrent.EventExecutorGroup- Overrides:
terminationFuturein classDelegatingEventLoopGroup
-
shutdownGracefully
public io.netty.util.concurrent.Future<?> shutdownGracefully()- Specified by:
shutdownGracefullyin interfaceio.netty.util.concurrent.EventExecutorGroup- Overrides:
shutdownGracefullyin classDelegatingEventLoopGroup
-
shutdownGracefully
- Specified by:
shutdownGracefullyin interfaceio.netty.util.concurrent.EventExecutorGroup- Overrides:
shutdownGracefullyin classDelegatingEventLoopGroup
-