Interface INativeService


  • public interface INativeService
    • Method Detail

      • request

        IRequest request​(String call)
        Creates an IRequest object to be executed by the NativeService.
        Parameters:
        call - NativeService call name
        Returns:
        IRequest object
      • dispose

        void dispose()
        Dispose the service
      • isValid

        boolean isValid()
        True if the INativeService instance is valid
        Returns:
        true if the INativeService instance is valid
      • poolSize

        int poolSize()
        Returns the current pool size of the NativeService.
        Returns:
        the current pool size of the NativeService.
      • maxConnections

        int maxConnections()
        Returns the maximum pool size the NativeService.
        Returns:
        the maximum pool size the NativeService.
      • totalRequests

        int totalRequests()
        Returns the total number of requests handled by this pool.
        Returns:
        the total number of requests handled by this pool
      • id

        String id()
        Returns the string id of this NativeService.
        Returns:
        string id of this NativeService
      • prestartConnection

        void prestartConnection()
                         throws NativeCommException
        Prestarts a process connection. Connections are usually initiated lazily on first request. This method forces a connection to be established without sending a request.
        Throws:
        NativeCommException - on failure