Class SslHandler.SslTasksRunner

  • All Implemented Interfaces:
    java.lang.Runnable
    Enclosing class:
    SslHandler

    private final class SslHandler.SslTasksRunner
    extends java.lang.Object
    implements java.lang.Runnable
    Runnable that will be scheduled on the delegatedTaskExecutor and will take care of resume work on the EventExecutor once the task was executed.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private boolean inUnwrap  
    • Constructor Summary

      Constructors 
      Constructor Description
      SslTasksRunner​(boolean inUnwrap)  
    • Field Detail

      • inUnwrap

        private final boolean inUnwrap
    • Constructor Detail

      • SslTasksRunner

        SslTasksRunner​(boolean inUnwrap)
    • Method Detail

      • taskError

        private void taskError​(java.lang.Throwable e)
      • safeExceptionCaught

        private void safeExceptionCaught​(java.lang.Throwable cause)
      • wrapIfNeeded

        private java.lang.Throwable wrapIfNeeded​(java.lang.Throwable cause)
      • tryDecodeAgain

        private void tryDecodeAgain()
      • resumeOnEventExecutor

        private void resumeOnEventExecutor()
        Executed after the wrapped task was executed via delegatedTaskExecutor to resume work on the EventExecutor.
      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable
      • handleException

        private void handleException​(java.lang.Throwable cause)