Uses of Interface
org.javacord.api.util.ratelimit.Ratelimiter
-
Packages that use Ratelimiter Package Description org.javacord.api org.javacord.api.internal org.javacord.api.util.ratelimit -
-
Uses of Ratelimiter in org.javacord.api
Methods in org.javacord.api that return Ratelimiter Modifier and Type Method Description RatelimiterDiscordApi. getGatewayIdentifyRatelimiter()Gets the current gateway identify ratelimiter.Methods in org.javacord.api that return types with arguments of type Ratelimiter Modifier and Type Method Description java.util.Optional<Ratelimiter>DiscordApi. getGlobalRatelimiter()Gets the current global ratelimiter.Methods in org.javacord.api with parameters of type Ratelimiter Modifier and Type Method Description DiscordApiBuilderDiscordApiBuilder. setGatewayIdentifyRatelimiter(Ratelimiter ratelimiter)Sets a ratelimiter that can be used to control the 5 seconds gateway identify ratelimit.DiscordApiBuilderDiscordApiBuilder. setGlobalRatelimiter(Ratelimiter ratelimiter)Sets a ratelimiter that can be used to control global ratelimits. -
Uses of Ratelimiter in org.javacord.api.internal
Methods in org.javacord.api.internal with parameters of type Ratelimiter Modifier and Type Method Description voidDiscordApiBuilderDelegate. setGatewayIdentifyRatelimiter(Ratelimiter ratelimiter)Sets a ratelimiter that can be used to respect the 5-second gateway identify ratelimit.voidDiscordApiBuilderDelegate. setGlobalRatelimiter(Ratelimiter ratelimiter)Sets a ratelimiter that can be used to control global ratelimits. -
Uses of Ratelimiter in org.javacord.api.util.ratelimit
Classes in org.javacord.api.util.ratelimit that implement Ratelimiter Modifier and Type Class Description classLocalRatelimiterAn implementation ofRatelimiterthat allows for simple local ratelimits.
-