- <init>
- allocShmSlot
Allocate a new shared memory slot.
- fetchOrCreate
Fetch or create a replica. You must hold the cache lock while calling this
function.
- scheduleSlotReleaser
Schedule a shared memory slot to be released.
- demoteOldEvictableMmaped
Demote old evictable mmaps into the regular eviction map. You must hold the
cache lock while calling
- fetch
Fetch an existing ReplicaInfo object.
- freeSlot
Free a slot immediately. ONLY use this if the DataNode is not yet aware of the
slot.
- getOrCreateClientMmap
- getStaleThresholdMs
- insertEvictable
Insert a replica into an evictable map. If an element already exists with this
eviction time, we add
- munmap
Munmap a replica, updating outstandingMmapCount.
- purge
Purge a replica from the cache. This doesn't necessarily close the replica,
since there may be outst