Class SecurityAwareIoPool

  • All Implemented Interfaces:
    Extension, IoPool

    public class SecurityAwareIoPool
    extends Object
    implements IoPool
    Wrapper of IoPool that executes tasks in security context that was actual when task was added to pool queue.
    • Constructor Detail

    • Method Detail

      • id

        public byte id()
        Gets the numeric identifier of the pool. This identifier is to be taken from serialized message and used to find the appropriate executor pool to process it.
        Specified by:
        id in interface IoPool
        Returns:
        The id.
      • executor

        public Executor executor()
        Gets the Executor for this Pool. Cannot be null.
        Specified by:
        executor in interface IoPool
        Returns:
        The executor.