001package com.nimbusds.common.util; 002 003 004/** 005 * Rate limiter interface. 006 */ 007public interface RateLimiter { 008 009 010 /** 011 * Acquires a new permit, may cause the thread to block. 012 */ 013 void acquirePermit(); 014}
001package com.nimbusds.common.util; 002 003 004/** 005 * Rate limiter interface. 006 */ 007public interface RateLimiter { 008 009 010 /** 011 * Acquires a new permit, may cause the thread to block. 012 */ 013 void acquirePermit(); 014}