Class Jre19Compat

    • Constructor Detail

      • Jre19Compat

        public Jre19Compat()
    • Method Detail

      • getExecutor

        public java.lang.Object getExecutor​(java.lang.Thread thread)
                                     throws java.lang.NoSuchFieldException,
                                            java.lang.SecurityException,
                                            java.lang.IllegalArgumentException,
                                            java.lang.IllegalAccessException
        Description copied from class: JreCompat
        Obtains the executor, if any, used to create the provided thread.
        Overrides:
        getExecutor in class JreCompat
        Parameters:
        thread - The thread to examine
        Returns:
        The executor, if any, that created the provided thread
        Throws:
        java.lang.NoSuchFieldException - If a field used via reflection to obtain the executor cannot be found
        java.lang.SecurityException - If a security exception occurs while trying to identify the executor
        java.lang.IllegalArgumentException - If the instance object does not match the class of the field when obtaining a field value via reflection
        java.lang.IllegalAccessException - If a field is not accessible due to access restrictions
      • getUnixDomainSocketAddress

        public java.net.SocketAddress getUnixDomainSocketAddress​(java.lang.String path)
        Description copied from class: JreCompat
        Return Unix domain socket address for given path.
        Overrides:
        getUnixDomainSocketAddress in class JreCompat
        Parameters:
        path - The path
        Returns:
        the socket address
      • openUnixDomainServerSocketChannel

        public java.nio.channels.ServerSocketChannel openUnixDomainServerSocketChannel()
        Description copied from class: JreCompat
        Create server socket channel using the Unix domain socket ProtocolFamily.
        Overrides:
        openUnixDomainServerSocketChannel in class JreCompat
        Returns:
        the server socket channel
      • openUnixDomainSocketChannel

        public java.nio.channels.SocketChannel openUnixDomainSocketChannel()
        Description copied from class: JreCompat
        Create socket channel using the Unix domain socket ProtocolFamily.
        Overrides:
        openUnixDomainSocketChannel in class JreCompat
        Returns:
        the socket channel