Class BiIntKeyCache<E>
java.lang.Object
com.linkedin.venice.utils.collections.BiIntKeyCache<E>
Read-through cache for items retrievable by two positive integer IDs.
N.B.: This class uses a list of lists internally. Therefore, the memory footprint will be proportional to the
highest integer ID used. As such, this class should only be used in cases where the range of valid IDs goes
from zero to a low max.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
BiIntKeyCache
-
-
Method Details
-
get
- Returns:
- the element corresponding to the two int provided
-