Interface GracefulShutdownRequest

    • Method Detail

      • getDelay

        int getDelay()
        Gets the delay before disconnection, in seconds.
        Returns:
        the delay before disconnection
      • setDelay

        void setDelay​(int delay)
        Sets the delay before disconnection, in seconds.
        Parameters:
        delay - the new delay before disconnection
      • getTimeOffline

        int getTimeOffline()
        Gets the offline time after disconnection, in minutes.
        Returns:
        the offline time after disconnection
      • setTimeOffline

        void setTimeOffline​(int timeOffline)
        Sets the time offline after disconnection, in minutes.
        Parameters:
        timeOffline - the new time offline after disconnection