K
- the type of the keyV
- the type of the value@InterfaceStability.Unstable public static interface TableRateLimiter.CreditFunction<K,V> extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
int |
getCredits(K key,
V value)
Get the number of credits required for the
key and value pair. |