public class RedisRatelimiterObject
extends org.redisson.RedissonObject
| Constructor and Description |
|---|
RedisRatelimiterObject(org.redisson.client.codec.Codec codec,
org.redisson.command.CommandAsyncExecutor commandExecutor,
String name) |
RedisRatelimiterObject(org.redisson.command.CommandAsyncExecutor commandExecutor,
String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
tryAcquire(long permits,
double rate,
long capacity) |
addListener, addListenerAsync, await, copy, copyAsync, delete, deleteAsync, dump, dumpAsync, encode, encode, encode, encodeMapKey, encodeMapKeys, encodeMapValue, encodeMapValues, get, getCodec, getLockByMapKey, getLockByValue, getName, getName, isExists, isExistsAsync, migrate, migrateAsync, move, moveAsync, prefixName, removeListener, removeListenerAsync, rename, renameAsync, renamenx, renamenxAsync, restore, restore, restoreAndReplace, restoreAndReplace, restoreAndReplaceAsync, restoreAndReplaceAsync, restoreAsync, restoreAsync, sizeInMemory, sizeInMemoryAsync, sizeInMemoryAsync, suffixName, toSeconds, toStream, touch, touchAsync, unlink, unlinkAsyncpublic RedisRatelimiterObject(org.redisson.client.codec.Codec codec,
org.redisson.command.CommandAsyncExecutor commandExecutor,
String name)
public RedisRatelimiterObject(org.redisson.command.CommandAsyncExecutor commandExecutor,
String name)
Copyright © 2021. All rights reserved.