Class DefaultRateLimiter (0.1.2)

public class DefaultRateLimiter implements RateLimiter

Inheritance

java.lang.Object > DefaultRateLimiter

Implements

com.google.cloud.alloydb.RateLimiter

Constructors

DefaultRateLimiter(double permitsPerSecond)

public DefaultRateLimiter(double permitsPerSecond)
Parameter
NameDescription
permitsPerSeconddouble

Methods

acquire()

public void acquire()