Interface ClientBlockRegistry<ClientIdType>
-
- All Known Implementing Classes:
AbstractRateLimiter,AddressBasedRateLimiter,HeapBasedClientBlockRegistry,IpRangeVerdictBasedBlockRegistry,UserNameBasedRateLimiter,VerdictBasedBlockRegistry,WildcardVerdictBasedBlockRegistry
public interface ClientBlockRegistry<ClientIdType>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidblock(ClientIdType clientId)Class<ClientIdType>getClientIdType()booleanisBlocked(ClientIdType clientId)
-
-
-
Method Detail
-
isBlocked
boolean isBlocked(ClientIdType clientId)
-
block
void block(ClientIdType clientId)
-
getClientIdType
Class<ClientIdType> getClientIdType()
-
-