Class RecoveryStrategy

  • All Implemented Interfaces:
    Closeable, AutoCloseable, Runnable

    public class RecoveryStrategy
    extends Object
    implements Runnable, Closeable
    This class may change in future and customisations are not supported between versions in terms of API or back compat behaviour.
    WARNING: This API is experimental and might change in incompatible ways in the next release.
    • Field Detail

      • testing_beforeReplayBufferingUpdates

        public static Runnable testing_beforeReplayBufferingUpdates
    • Method Detail

      • getWaitForUpdatesWithStaleStatePauseMilliSeconds

        public final int getWaitForUpdatesWithStaleStatePauseMilliSeconds()
      • setWaitForUpdatesWithStaleStatePauseMilliSeconds

        public final void setWaitForUpdatesWithStaleStatePauseMilliSeconds​(int waitForUpdatesWithStaleStatePauseMilliSeconds)
      • getMaxRetries

        public final int getMaxRetries()
      • setMaxRetries

        public final void setMaxRetries​(int maxRetries)
      • getStartingRecoveryDelayMilliSeconds

        public final int getStartingRecoveryDelayMilliSeconds()
      • setStartingRecoveryDelayMilliSeconds

        public final void setStartingRecoveryDelayMilliSeconds​(int startingRecoveryDelayMilliSeconds)
      • getRecoveringAfterStartup

        public final boolean getRecoveringAfterStartup()
      • setRecoveringAfterStartup

        public final void setRecoveringAfterStartup​(boolean recoveringAfterStartup)
      • getReplicateLeaderUrl

        protected String getReplicateLeaderUrl​(org.apache.solr.common.cloud.ZkNodeProps leaderprops)
        This method may change in future and customisations are not supported between versions in terms of API or back compat behaviour.
        WARNING: This API is experimental and might change in incompatible ways in the next release.
      • run

        public final void run()
        Specified by:
        run in interface Runnable
      • isClosed

        public final boolean isClosed()