Class PollingManager


  • public class PollingManager
    extends Object
    • Constructor Detail

      • PollingManager

        public PollingManager​(FlagsmithClient client,
                              Integer interval)
        Instantiate the polling manager with client and interval for refresh.
        Parameters:
        client - client object
        interval - interval seconds
    • Method Detail

      • startPolling

        public void startPolling()
        Start polling of the environment in the new thread.
      • stopPolling

        public void stopPolling()
        Stop polling of the new environment.