Interface Counter
public interface Counter
Counts values for keys.
-
Method Summary
-
Method Details
-
increment
Increments the value for the key.- Parameters:
key- The key to increment value for.value- The value to increment.
-
estimate
Gets the value for the key.- Parameters:
key- The key to get value for.- Returns:
- the (approximate/exact) value for the key
-