Interface ReadLimit

All Known Implementing Classes:
CompositeReadLimit, ReadAllAvailable, ReadMaxFiles, ReadMaxRows, ReadMinRows

@Evolving public interface ReadLimit
Interface representing limits on how much to read from a MicroBatchStream when it implements SupportsAdmissionControl. There are several child interfaces representing various kinds of limits.
See Also:
  • Method Details

    • minRows

      static ReadLimit minRows(long rows, long maxTriggerDelayMs)
    • maxRows

      static ReadLimit maxRows(long rows)
    • maxFiles

      static ReadLimit maxFiles(int files)
    • allAvailable

      static ReadLimit allAvailable()
    • compositeLimit

      static ReadLimit compositeLimit(ReadLimit[] readLimits)