com.hazelcast.util.concurrent

## Interface IdleStrategy

- All Known Implementing Classes:
    BackoffIdleStrategy, BusySpinIdleStrategy, NoOpIdleStrategy

      public interface IdleStrategy

  Idle strategy for use by threads when then they don't have work to do.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `idle(long n)` Perform current idle strategy's step n.

- - ### Method Detail

    - #### idle

          boolean idle(long n)

      Perform current idle strategy's step n.
      Parameters:
        `n` - number of times this method has been previously called with no intervening work done.
      Returns:
        whether the strategy has reached the longest pause time.

Copyright © 2020. All rights reserved.