Uses of Class
org.apache.druid.segment.loading.StorageLocation.ReservationHold
Packages that use StorageLocation.ReservationHold
-
Uses of StorageLocation.ReservationHold in org.apache.druid.segment.loading
Methods in org.apache.druid.segment.loading that return StorageLocation.ReservationHoldModifier and TypeMethodDescription<T extends CacheEntry>
StorageLocation.ReservationHold<T>StorageLocation.addWeakReservationHold(CacheEntryIdentifier entryId, Supplier<? extends CacheEntry> entrySupplier) Returns aStorageLocation.ReservationHoldof aCacheEntrywith a 'hold' placed on it, preventing it from being automatically removed byStorageLocation.reclaim(long)if theCacheEntryis one ofStorageLocation.weakCacheEntriesuntil the hold is released byclose().<T extends CacheEntry>
StorageLocation.ReservationHold<T>StorageLocation.addWeakReservationHoldIfExists(CacheEntryIdentifier entryId) Returns aStorageLocation.ReservationHoldof aCacheEntrywith a 'hold' placed on it, preventing it from being automatically removed byStorageLocation.reclaim(long)if theCacheEntryis one ofStorageLocation.weakCacheEntriesuntil the hold is released byclose().