Uses of Interface
org.apache.juneau.rest.server.guard.RateLimitGuard.Storage
Packages that use RateLimitGuard.Storage
-
Uses of RateLimitGuard.Storage in org.apache.juneau.rest.server.guard
Methods in org.apache.juneau.rest.server.guard that return RateLimitGuard.StorageModifier and TypeMethodDescriptionRateLimitGuard.getStorage()Returns the bucket-state storage backend in use by this guard.static RateLimitGuard.StorageRateLimitGuard.Storage.inMemory()Creates a new in-memory storage backend with the default size cap (100 000 keys).static RateLimitGuard.StorageRateLimitGuard.Storage.inMemory(int maxKeys) Creates a new in-memory storage backend with a custom size cap.Methods in org.apache.juneau.rest.server.guard with parameters of type RateLimitGuard.StorageModifier and TypeMethodDescriptionRateLimitGuard.Builder.storage(RateLimitGuard.Storage value) Sets the bucket-state storage backend.