Package | Description |
---|---|
alluxio.client.file.cache | |
alluxio.client.file.cache.evictor | |
alluxio.client.file.cache.store | |
alluxio.worker.page |
Modifier and Type | Method and Description |
---|---|
PageId |
PageInfo.getPageId() |
Modifier and Type | Method and Description |
---|---|
List<PageId> |
LocalCacheManager.getCachedPageIdsByFileId(String fileId,
long fileLength) |
default List<PageId> |
CacheManager.getCachedPageIdsByFileId(String fileId,
long fileLength)
Get page ids by the given file id.
|
List<PageId> |
NoExceptionCacheManager.getCachedPageIdsByFileId(String fileId,
long fileLength) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultPageMetaStore.addPage(PageId pageId,
PageInfo pageInfo) |
void |
QuotaPageMetaStore.addPage(PageId pageId,
PageInfo pageInfo) |
void |
PageMetaStore.addPage(PageId pageId,
PageInfo pageInfo)
Adds a new page to the cache.
|
void |
DefaultPageMetaStore.addTempPage(PageId pageId,
PageInfo pageInfo) |
void |
PageMetaStore.addTempPage(PageId pageId,
PageInfo pageInfo)
Adds a new temp page to the cache.
|
boolean |
CacheManagerWithShadowCache.append(PageId pageId,
int appendAt,
byte[] page,
CacheContext cacheContext) |
boolean |
LocalCacheManager.append(PageId pageId,
int appendAt,
byte[] page,
CacheContext cacheContext) |
boolean |
CacheManager.append(PageId pageId,
int appendAt,
byte[] page,
CacheContext cacheContext) |
boolean |
NoExceptionCacheManager.append(PageId pageId,
int appendAt,
byte[] page,
CacheContext cacheContext) |
void |
TimeBoundPageStore.delete(PageId pageId) |
boolean |
MultipleBloomShadowCacheManager.delete(PageId pageId) |
boolean |
CacheManagerWithShadowCache.delete(PageId pageId) |
boolean |
ShadowCacheManager.delete(PageId pageId)
Deletes a page from the cache.
|
boolean |
ClockCuckooShadowCacheManager.delete(PageId pageId) |
boolean |
LocalCacheManager.delete(PageId pageId) |
void |
PageStore.delete(PageId pageId)
Deletes a page from the store.
|
boolean |
CacheManager.delete(PageId pageId)
Deletes a page from the cache.
|
boolean |
NoExceptionCacheManager.delete(PageId pageId) |
void |
CacheManagerWithShadowCache.PageIdFunnel.funnel(PageId from,
com.google.common.hash.PrimitiveSink into) |
default int |
CacheManager.get(PageId pageId,
int bytesToRead,
byte[] buffer,
int offsetInBuffer)
Reads the entire page if the queried page is found in the cache, stores the result in buffer.
|
int |
NoExceptionCacheManager.get(PageId pageId,
int bytesToRead,
byte[] buffer,
int offsetInBuffer) |
int |
MultipleBloomShadowCacheManager.get(PageId pageId,
int bytesToRead,
CacheScope scope) |
int |
ShadowCacheManager.get(PageId pageId,
int bytesToRead,
CacheScope scope)
Reads the entire page and refresh its access time if the queried page is found in the cache.
|
int |
ClockCuckooShadowCacheManager.get(PageId pageId,
int bytesToRead,
CacheScope cacheScope) |
default int |
CacheManager.get(PageId pageId,
int pageOffset,
int bytesToRead,
byte[] buffer,
int offsetInBuffer)
Reads a part of a page if the queried page is found in the cache, stores the result in buffer.
|
int |
NoExceptionCacheManager.get(PageId pageId,
int pageOffset,
int bytesToRead,
byte[] buffer,
int offsetInBuffer) |
default int |
CacheManager.get(PageId pageId,
int pageOffset,
int bytesToRead,
byte[] buffer,
int offsetInBuffer,
CacheContext cacheContext)
Reads a part of a page if the queried page is found in the cache, stores the result in buffer.
|
int |
NoExceptionCacheManager.get(PageId pageId,
int pageOffset,
int bytesToRead,
byte[] buffer,
int offsetInBuffer,
CacheContext cacheContext) |
default int |
PageStore.get(PageId pageId,
int pageOffset,
int bytesToRead,
PageReadTargetBuffer buffer)
Gets part of a page from the store to the destination buffer.
|
int |
TimeBoundPageStore.get(PageId pageId,
int pageOffset,
int bytesToRead,
PageReadTargetBuffer target,
boolean isTemporary) |
int |
PageStore.get(PageId pageId,
int pageOffset,
int bytesToRead,
PageReadTargetBuffer buffer,
boolean isTemporary)
Gets part of a page from the store to the destination buffer.
|
int |
CacheManagerWithShadowCache.get(PageId pageId,
int pageOffset,
int bytesToRead,
PageReadTargetBuffer target,
CacheContext cacheContext) |
int |
LocalCacheManager.get(PageId pageId,
int pageOffset,
int bytesToRead,
PageReadTargetBuffer buffer,
CacheContext cacheContext) |
int |
CacheManager.get(PageId pageId,
int pageOffset,
int bytesToRead,
PageReadTargetBuffer buffer,
CacheContext cacheContext)
Reads a part of a page if the queried page is found in the cache, stores the result in buffer.
|
int |
NoExceptionCacheManager.get(PageId pageId,
int pageOffset,
int bytesToRead,
PageReadTargetBuffer buffer,
CacheContext cacheContext) |
default int |
PageStore.get(PageId pageId,
PageReadTargetBuffer buffer)
Gets a page from the store to the destination buffer.
|
PageInfo |
DefaultPageMetaStore.getPageInfo(PageId pageId) |
PageInfo |
QuotaPageMetaStore.getPageInfo(PageId pageId) |
PageInfo |
PageMetaStore.getPageInfo(PageId pageId) |
int |
LocalCacheManager.getPageLockId(PageId pageId) |
boolean |
DefaultPageMetaStore.hasPage(PageId pageId) |
boolean |
PageMetaStore.hasPage(PageId pageId) |
default void |
PageStore.put(PageId pageId,
byte[] page)
Writes a new page from a source channel to the store.
|
default boolean |
CacheManager.put(PageId pageId,
byte[] page)
Puts a page into the cache manager.
|
boolean |
NoExceptionCacheManager.put(PageId pageId,
byte[] page) |
default void |
PageStore.put(PageId pageId,
byte[] page,
boolean isTemporary)
Writes a new page from a source channel to the store.
|
default boolean |
CacheManager.put(PageId pageId,
byte[] page,
CacheContext cacheContext)
Puts a page into the cache manager with scope and quota respected.
|
default boolean |
CacheManager.put(PageId pageId,
ByteBuffer page)
Puts a page into the cache manager.
|
void |
TimeBoundPageStore.put(PageId pageId,
ByteBuffer page,
boolean isTemporary) |
void |
PageStore.put(PageId pageId,
ByteBuffer page,
boolean isTemporary)
Writes a new page from a source channel to the store.
|
boolean |
CacheManagerWithShadowCache.put(PageId pageId,
ByteBuffer page,
CacheContext cacheContext) |
boolean |
LocalCacheManager.put(PageId pageId,
ByteBuffer page,
CacheContext cacheContext) |
boolean |
CacheManager.put(PageId pageId,
ByteBuffer page,
CacheContext cacheContext)
Puts a page into the cache manager with scope and quota respected.
|
boolean |
NoExceptionCacheManager.put(PageId pageId,
ByteBuffer page,
CacheContext cacheContext) |
boolean |
MultipleBloomShadowCacheManager.put(PageId pageId,
int size,
CacheScope scope) |
boolean |
ShadowCacheManager.put(PageId pageId,
int size,
CacheScope scope)
Puts a page with specified size and scope into the shadow cache manager.
|
boolean |
ClockCuckooShadowCacheManager.put(PageId pageId,
int size,
CacheScope cacheScope) |
default void |
PageStore.putTemporary(PageId pageId,
byte[] page)
Writes a new temporary page from a source channel to the store.
|
PageInfo |
DefaultPageMetaStore.removePage(PageId pageId) |
PageInfo |
QuotaPageMetaStore.removePage(PageId pageId) |
PageInfo |
PageMetaStore.removePage(PageId pageId)
Removes a page.
|
Constructor and Description |
---|
PageInfo(PageId pageId,
long pageSize,
CacheScope cacheScope,
PageStoreDir pageStoreDir) |
PageInfo(PageId pageId,
long pageSize,
CacheScope cacheScope,
PageStoreDir pageStoreDir,
long createdTimestamp) |
PageInfo(PageId pageId,
long pageSize,
PageStoreDir pageStoreDir) |
Modifier and Type | Field and Description |
---|---|
protected Map<PageId,Boolean> |
LRUCacheEvictor.mLRUCache |
Modifier and Type | Method and Description |
---|---|
PageId |
TwoChoiceRandomEvictor.evict() |
PageId |
FIFOCacheEvictor.evict() |
PageId |
LFUCacheEvictor.evict() |
PageId |
LRUCacheEvictor.evict() |
PageId |
NondeterministicLRUCacheEvictor.evict() |
PageId |
CacheEvictor.evict() |
PageId |
UnevictableCacheEvictor.evict() |
PageId |
TwoChoiceRandomEvictor.evictMatching(java.util.function.Predicate<PageId> criterion) |
PageId |
FIFOCacheEvictor.evictMatching(java.util.function.Predicate<PageId> criterion) |
PageId |
LFUCacheEvictor.evictMatching(java.util.function.Predicate<PageId> criterion) |
PageId |
LRUCacheEvictor.evictMatching(java.util.function.Predicate<PageId> criterion) |
PageId |
NondeterministicLRUCacheEvictor.evictMatching(java.util.function.Predicate<PageId> criterion) |
PageId |
CacheEvictor.evictMatching(java.util.function.Predicate<PageId> criterion)
Picks the first candidate for eviction that satisfies the given criterion.
|
PageId |
UnevictableCacheEvictor.evictMatching(java.util.function.Predicate<PageId> criterion) |
Modifier and Type | Method and Description |
---|---|
void |
TwoChoiceRandomEvictor.updateOnDelete(PageId pageId) |
void |
FIFOCacheEvictor.updateOnDelete(PageId pageId) |
void |
LFUCacheEvictor.updateOnDelete(PageId pageId) |
void |
LRUCacheEvictor.updateOnDelete(PageId pageId) |
void |
CacheEvictor.updateOnDelete(PageId pageId)
Updates evictor after a delete operation.
|
void |
UnevictableCacheEvictor.updateOnDelete(PageId pageId) |
void |
TwoChoiceRandomEvictor.updateOnGet(PageId pageId) |
void |
FIFOCacheEvictor.updateOnGet(PageId pageId) |
void |
LFUCacheEvictor.updateOnGet(PageId pageId) |
void |
LRUCacheEvictor.updateOnGet(PageId pageId) |
void |
CacheEvictor.updateOnGet(PageId pageId)
Updates evictor after a get operation.
|
void |
UnevictableCacheEvictor.updateOnGet(PageId pageId) |
void |
TwoChoiceRandomEvictor.updateOnPut(PageId pageId) |
void |
FIFOCacheEvictor.updateOnPut(PageId pageId) |
void |
LFUCacheEvictor.updateOnPut(PageId pageId) |
void |
LRUCacheEvictor.updateOnPut(PageId pageId) |
void |
CacheEvictor.updateOnPut(PageId pageId)
Updates evictor after a put operation.
|
void |
UnevictableCacheEvictor.updateOnPut(PageId pageId) |
Modifier and Type | Method and Description |
---|---|
PageId |
TwoChoiceRandomEvictor.evictMatching(java.util.function.Predicate<PageId> criterion) |
PageId |
FIFOCacheEvictor.evictMatching(java.util.function.Predicate<PageId> criterion) |
PageId |
LFUCacheEvictor.evictMatching(java.util.function.Predicate<PageId> criterion) |
PageId |
LRUCacheEvictor.evictMatching(java.util.function.Predicate<PageId> criterion) |
PageId |
NondeterministicLRUCacheEvictor.evictMatching(java.util.function.Predicate<PageId> criterion) |
PageId |
CacheEvictor.evictMatching(java.util.function.Predicate<PageId> criterion)
Picks the first candidate for eviction that satisfies the given criterion.
|
PageId |
UnevictableCacheEvictor.evictMatching(java.util.function.Predicate<PageId> criterion) |
Modifier and Type | Method and Description |
---|---|
PageId |
MemoryPageStore.getKeyFromPageId(PageId pageId) |
Modifier and Type | Method and Description |
---|---|
void |
LocalPageStore.delete(PageId pageId) |
void |
MemoryPageStore.delete(PageId pageId) |
void |
RocksPageStore.delete(PageId pageId) |
int |
LocalPageStore.get(PageId pageId,
int pageOffset,
int bytesToRead,
PageReadTargetBuffer target,
boolean isTemporary) |
int |
MemoryPageStore.get(PageId pageId,
int pageOffset,
int bytesToRead,
PageReadTargetBuffer target,
boolean isTemporary) |
int |
RocksPageStore.get(PageId pageId,
int pageOffset,
int bytesToRead,
PageReadTargetBuffer target,
boolean isTemporary) |
PageId |
MemoryPageStore.getKeyFromPageId(PageId pageId) |
Path |
LocalPageStore.getPagePath(PageId pageId,
boolean isTemporary) |
void |
LocalPageStore.put(PageId pageId,
ByteBuffer page,
boolean isTemporary) |
void |
MemoryPageStore.put(PageId pageId,
ByteBuffer page,
boolean isTemporary) |
void |
RocksPageStore.put(PageId pageId,
ByteBuffer page,
boolean isTemporary) |
Modifier and Type | Class and Description |
---|---|
class |
BlockPageId
Specialized
PageId when it's part of a block. |
Modifier and Type | Method and Description |
---|---|
PageId |
BlockPageEvictor.evict() |
PageId |
BlockPageEvictor.evictMatching(java.util.function.Predicate<PageId> criterion) |
Modifier and Type | Method and Description |
---|---|
Set<PageId> |
PagedBlockStoreDir.getBlockPages(long blockId)
Gets pages in this block.
|
Modifier and Type | Method and Description |
---|---|
void |
PagedBlockMetaStore.addPage(PageId pageId,
PageInfo pageInfo) |
void |
PagedBlockMetaStore.addTempPage(PageId pageId,
PageInfo pageInfo) |
static BlockPageId |
BlockPageId.downcast(PageId pageId)
Try to downcast a
PageId to a BlockPageId . |
PageInfo |
PagedBlockMetaStore.getPageInfo(PageId pageId) |
boolean |
PagedBlockMetaStore.hasPage(PageId pageId) |
PageInfo |
PagedBlockMetaStore.removePage(PageId pageId) |
void |
BlockPageEvictor.updateOnDelete(PageId pageId) |
void |
BlockPageEvictor.updateOnGet(PageId pageId) |
void |
BlockPageEvictor.updateOnPut(PageId pageId) |
Modifier and Type | Method and Description |
---|---|
PageId |
BlockPageEvictor.evictMatching(java.util.function.Predicate<PageId> criterion) |
Copyright © 2023. All Rights Reserved.