Guava Rate Limiter

Rate limiter implementation from the Guava libraries

License

License

Categories

Categories

Guava General Purpose Libraries Utility
GroupId

GroupId

com.revinate
ArtifactId

ArtifactId

guava-rate-limiter
Last Version

Last Version

19.1
Release Date

Release Date

Type

Type

jar
Description

Description

Guava Rate Limiter
Rate limiter implementation from the Guava libraries
Project URL

Project URL

https://github.com/revinate/guava-rate-limiter
Source Code Management

Source Code Management

https://github.com/revinate/guava-rate-limiter

Download guava-rate-limiter

How to add to project

<!-- https://jarcasting.com/artifacts/com.revinate/guava-rate-limiter/ -->
<dependency>
    <groupId>com.revinate</groupId>
    <artifactId>guava-rate-limiter</artifactId>
    <version>19.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.revinate/guava-rate-limiter/
implementation 'com.revinate:guava-rate-limiter:19.1'
// https://jarcasting.com/artifacts/com.revinate/guava-rate-limiter/
implementation ("com.revinate:guava-rate-limiter:19.1")
'com.revinate:guava-rate-limiter:jar:19.1'
<dependency org="com.revinate" name="guava-rate-limiter" rev="19.1">
  <artifact name="guava-rate-limiter" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.revinate', module='guava-rate-limiter', version='19.1')
)
libraryDependencies += "com.revinate" % "guava-rate-limiter" % "19.1"
[com.revinate/guava-rate-limiter "19.1"]

Dependencies

test (2)

Group / Artifact Type Version
junit : junit jar 4.12
org.mockito : mockito-core jar 1.10.19

Project Modules

There are no modules declared in this project.

Guava Rate Limiter

BuildStatus BuildStatus codecov.io

This is the rate limiter implementation found in the Guava libraries, extracted into its own project so that modifications could be made. The main modification made in this version of the rate limiter is the ability to set the max-burst-seconds property on the SmoothBursty rate limiter.

Requirements

Java 1.6 and later.

Installation

Maven

Add this dependency to your project's POM:

<dependency>
  <groupId>com.revinate</groupId>
  <artifactId>guava-rate-limiter</artifactId>
  <version>19.1</version>
</dependency>

Gradle

Add this dependency to your project's build script:

compile 'com.revinate:guava-rate-limiter:19.1'
com.revinate

Revinate, Inc.

Versions

Version
19.1
19.0