Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for submitPacket (0.06 seconds)

  1. android/guava/src/com/google/common/util/concurrent/RateLimiter.java

     * permits per second:
     *
     * {@snippet :
     * final RateLimiter rateLimiter = RateLimiter.create(5000.0); // rate = 5000 permits per second
     * void submitPacket(byte[] packet) {
     *   rateLimiter.acquire(packet.length);
     *   networkService.send(packet);
     * }
     * }
     *
     * <p>It is important to note that the number of permits requested <i>never</i> affects the
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:05:27 GMT 2025
    - 21.8K bytes
    - Click Count (0)
Back to Top