Class GracefulRestartUtil


  • public final class GracefulRestartUtil
    extends Object
    Utility class for dealing with Graceful Restart.
    • Field Detail

      • EMPTY_GR_CAPABILITY

        public static final @NonNull GracefulRestartCapability EMPTY_GR_CAPABILITY
        GR capability advertizing inactive GR.
      • EMPTY_LLGR_CAPABILITY

        public static final @NonNull LlGracefulRestartCapability EMPTY_LLGR_CAPABILITY
        LLGR capability advertizing no tables.
    • Method Detail

      • gracefulRestartTable

        @Beta
        public static @NonNull Tables gracefulRestartTable​(@NonNull TablesKey table,
                                                           boolean forwardingState)
      • gracefulRestartCapability

        @Beta
        public static @NonNull CParameters gracefulRestartCapability​(Map<TablesKey,​Tables> tables,
                                                                     int restartTime,
                                                                     boolean localRestarting)