java.lang.Object
org.eclipse.milo.opcua.stack.core.Stack

public final class Stack extends Object
  • Field Details

  • Constructor Details

    • Stack

      public Stack()
  • Method Details

    • sharedEventLoop

      public static io.netty.channel.EventLoopGroup sharedEventLoop()
      Returns:
      a shared EventLoopGroup.
    • sharedExecutor

      public static ExecutorService sharedExecutor()
      Returns:
      a shared ExecutorService.
    • sharedScheduledExecutor

      public static ScheduledExecutorService sharedScheduledExecutor()
      Returns:
      a shared ScheduledExecutorService.
    • sharedWheelTimer

      public static io.netty.util.HashedWheelTimer sharedWheelTimer()
      Returns:
      a shared HashedWheelTimer.
    • releaseSharedResources

      public static void releaseSharedResources()
      Release shared resources, waiting at most 5 seconds for the EventLoopGroup to shut down gracefully.
    • releaseSharedResources

      public static void releaseSharedResources(long timeout, TimeUnit unit)
      Release shared resources, waiting at most the specified timeout for the EventLoopGroup to shut down gracefully.
      Parameters:
      timeout - the duration of the timeout.
      unit - the unit of the timeout duration.