Uses of Interface
org.apache.druid.segment.loading.CacheEntryIdentifier
Packages that use CacheEntryIdentifier
-
Uses of CacheEntryIdentifier in org.apache.druid.segment.loading
Classes in org.apache.druid.segment.loading that implement CacheEntryIdentifierMethods in org.apache.druid.segment.loading that return CacheEntryIdentifierMethods in org.apache.druid.segment.loading with parameters of type CacheEntryIdentifierModifier 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 byStorageLocation.ReservationHold.close().<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 byStorageLocation.ReservationHold.close().<T extends CacheEntry>
TStorageLocation.getCacheEntry(CacheEntryIdentifier entryId) If aCacheEntryfor aCacheEntryIdentifierexists in eitherStorageLocation.staticCacheEntriesorStorageLocation.weakCacheEntries, this method will return it.<T extends CacheEntry>
TStorageLocation.getStaticCacheEntry(CacheEntryIdentifier entryId) booleanStorageLocation.isReserved(CacheEntryIdentifier identifier) Returns true if aCacheEntryfor aCacheEntryIdentifierexists inStorageLocation.staticCacheEntriesbooleanStorageLocation.isWeakReserved(CacheEntryIdentifier identifier)