Interface CriticalComponent

    • Method Detail

      • checkExpiration

        boolean checkExpiration​(long timeout,
                                boolean reset)
        Check if the component is expired at a given timeout.. on any of its paths.
        Parameters:
        timeout - - the timeout to check if the component is expired
        reset - - true to reset the component timer if it is expired
        Returns:
        -1 if it's ok, or the number of the path it failed