Interface PhysicalPort

    • Method Detail

      • getType

        TokenType getType()
        Gets the type of tokens in the underlying flow.
        Specified by:
        getType in interface TokenTyped
        Returns:
        the token type for this port.
      • getStats

        PortStatistics getStats()
        Retrieves the run-time statistics gathered for this port.
        Returns:
        PortStats gathered during execution or null if the configuration did not specify collecting statistics
      • isAttached

        boolean isAttached()
        Indicates whether the port is still attached.
        Returns:
        true if the port may still have data flowing, false otherwise
      • detach

        void detach()
        Forcibly releases the resources of a port.