public abstract class Modbus extends Object
These resources should be released when the JVM is shutting down or the ClassLoader that loaded us is unloaded.
See releaseSharedResources().
| Modifier and Type | Method and Description |
|---|---|
static void |
releaseSharedResources()
Shutdown/stop any shared resources that may be in use.
|
static io.netty.channel.EventLoopGroup |
sharedEventLoop() |
static ExecutorService |
sharedExecutor() |
static io.netty.util.HashedWheelTimer |
sharedWheelTimer() |
public static ExecutorService sharedExecutor()
ExecutorService.public static io.netty.channel.EventLoopGroup sharedEventLoop()
EventLoopGroup.public static io.netty.util.HashedWheelTimer sharedWheelTimer()
HashedWheelTimer.public static void releaseSharedResources()
Copyright © 2015. All rights reserved.