Key
- Used to find and create value.Value
- Type stored in ResourceLimitedMap, which is created as necessary
and finalized when it is the least-recently used.public interface ResourceLimitedMapFunctor<Key,Value>
Modifier and Type | Method and Description |
---|---|
void |
finalizeValue(Key key,
Value value)
Clean up an existing value in conjunction with removing from ResourceLimitedMap.
|
Value |
makeValue(Key key)
Create a new value corresponding to the key
|