Package 

Class RingStatePollingConfig


  • 
    public final class RingStatePollingConfig
    
                        

    When the caller falls back to reading the ring state instead of waiting for it.

    Polling is switched off by passing a null config, never by zeroing a timing: every value here must be usable, and a non-positive one is rejected rather than quietly disabling the fallback.

    • Constructor Detail

      • RingStatePollingConfig

        RingStatePollingConfig(Long startAfterMs, Long intervalMs)
        Parameters:
        startAfterMs - how long a ring must go without a participant's ring status changing before polling begins.
        intervalMs - the gap between reads once polling has begun.