All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.arextest.schedule.common.SendLimiter Maven / Gradle / Ivy

There is a newer version: 2.0.4
Show newest version
package com.arextest.schedule.common;

/**
 * @author wildeslam.
 * @create 2023/12/1 15:37
 */
public interface SendLimiter {

  boolean failBreak();

  void acquire();

  void release(boolean success);

  void batchRelease(boolean success, int size);

  int totalError();

  int continuousError();

  void reset();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy