Class OverseerTriggerThread

    • Method Detail

      • getScheduledTriggers

        public ScheduledTriggers getScheduledTriggers()
        For tests.
        Returns:
        current ScheduledTriggers instance
        NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
      • getProcessedZnodeVersion

        public int getProcessedZnodeVersion()
        For tests, to ensure that all processing has been completed in response to an update of /autoscaling.json.
        Returns:
        version of /autoscaling.json for which all configuration updates & processing have been completed. Until then this value will always be smaller than the current znodeVersion of /autoscaling.json.
        NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
      • run

        public void run()
        Specified by:
        run in interface Runnable