Interface ThresholdStateMonitor

  • All Known Implementing Classes:
    BlobStoreAwareMonitor

    public interface ThresholdStateMonitor
    An interface for tracking and reinitializing the in-memory values of thresholding states.
    • Method Detail

      • withReadLock

        void withReadLock​(Runnable r)
        Run some arbitrary code while holding the lock to the state monitor. This is used to block reinitialization while the given code is running.
      • reinitializeState

        void reinitializeState​(String stateKey)
        Reinitialize a single state identified by the given key.
      • reinitializeStates

        void reinitializeStates()
        Reinitialize all states currently tracked by this monitor.