RotatingMap must be used under thread-safe environment
Expires keys that have not been updated in the configured number of seconds.
The algorithm used will take between expirationSecs and expirationSecs * (1 +
1 / (numBuckets-1)) to actually expire the message.
get, put, remove, containsKey, and size take O(numBuckets) time to run.
RotatingMap must be used under thread-safe environment
Expires keys that have not been updated in the configured number of seconds. The algorithm used will take between expirationSecs and expirationSecs * (1 + 1 / (numBuckets-1)) to actually expire the message.
get, put, remove, containsKey, and size take O(numBuckets) time to run.