Interface IApiLimitPolicy

All Known Implementing Classes:
ApiLimitPolicy

public interface IApiLimitPolicy
Indicates the action to take when the Twitter API call limits are reached.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Called when the API call limit is reached; returns true to retry or false to stop reading (it may also throw).
  • Method Details

    • onLimitExceeded

      boolean onLimitExceeded(TwitterRateLimit rateLimit)
      Called when the API call limit is reached; returns true to retry or false to stop reading (it may also throw).