Type of the key.
Type of the value.
Type of the arguments bundle.
GarbageCollector which notifies about expired entries.
Defaults to HeapGarbageCollector.
Get the number of tracked for expiration keys.
Method used for unit testing purposes!
Expiration policy which evicts keys on it's behalf in the background.
Expired keys are tracked with the help of GarbageCollector, which evicts them asynchronously when they expire.
This kind of policy can be used if you have keys that won't be often queried and you need a background timer which evicts keys as soon as they expire.