Package | Description |
---|---|
alluxio.client.file.cache | |
alluxio.client.file.cache.evictor | |
alluxio.client.file.cache.store |
Modifier and Type | Method and Description |
---|---|
PageId |
CacheEvictor.evict() |
PageId |
PageInfo.getPageId() |
Modifier and Type | Method and Description |
---|---|
void |
DefaultMetaStore.addPage(PageId pageId,
PageInfo pageInfo) |
void |
MetaStore.addPage(PageId pageId,
PageInfo pageInfo)
Adds a new page to the cache.
|
boolean |
NoExceptionCacheManager.delete(PageId pageId) |
boolean |
CacheManager.delete(PageId pageId)
Deletes a page from the cache.
|
boolean |
LocalCacheManager.delete(PageId pageId) |
void |
PageStore.delete(PageId pageId,
long pageSize)
Deletes a page from the store.
|
default ReadableByteChannel |
PageStore.get(PageId pageId)
Wraps a page from the store as a channel to read.
|
ReadableByteChannel |
PageStore.get(PageId pageId,
int pageOffset)
Gets part of a page from the store to the destination channel.
|
int |
NoExceptionCacheManager.get(PageId pageId,
int bytesToRead,
byte[] buffer,
int offsetInBuffer) |
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 pageOffset,
int bytesToRead,
byte[] buffer,
int offsetInBuffer) |
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 |
LocalCacheManager.get(PageId pageId,
int pageOffset,
int bytesToRead,
byte[] buffer,
int offsetInBuffer) |
PageInfo |
DefaultMetaStore.getPageInfo(PageId pageId) |
PageInfo |
MetaStore.getPageInfo(PageId pageId) |
boolean |
DefaultMetaStore.hasPage(PageId pageId) |
boolean |
MetaStore.hasPage(PageId pageId) |
boolean |
NoExceptionCacheManager.put(PageId pageId,
byte[] page) |
void |
PageStore.put(PageId pageId,
byte[] page)
Writes a new page from a source channel to the store.
|
boolean |
CacheManager.put(PageId pageId,
byte[] page)
Puts a page into the cache manager.
|
boolean |
LocalCacheManager.put(PageId pageId,
byte[] page) |
void |
DefaultMetaStore.removePage(PageId pageId) |
void |
MetaStore.removePage(PageId pageId)
Removes a page.
|
void |
CacheEvictor.updateOnDelete(PageId pageId)
Updates evictor after a delete operation.
|
void |
CacheEvictor.updateOnGet(PageId pageId)
Updates evictor after a get operation.
|
void |
CacheEvictor.updateOnPut(PageId pageId)
Updates evictor after a put operation.
|
Constructor and Description |
---|
PageInfo(PageId pageId,
long pageSize) |
Modifier and Type | Method and Description |
---|---|
PageId |
LFUCacheEvictor.evict() |
PageId |
LRUCacheEvictor.evict() |
Modifier and Type | Method and Description |
---|---|
void |
LFUCacheEvictor.updateOnDelete(PageId pageId) |
void |
LRUCacheEvictor.updateOnDelete(PageId pageId) |
void |
LFUCacheEvictor.updateOnGet(PageId pageId) |
void |
LRUCacheEvictor.updateOnGet(PageId pageId) |
void |
LFUCacheEvictor.updateOnPut(PageId pageId) |
void |
LRUCacheEvictor.updateOnPut(PageId pageId) |
Modifier and Type | Method and Description |
---|---|
void |
LocalPageStore.delete(PageId pageId,
long pageSize) |
void |
RocksPageStore.delete(PageId pageId,
long pageSize) |
ReadableByteChannel |
LocalPageStore.get(PageId pageId,
int pageOffset) |
ReadableByteChannel |
RocksPageStore.get(PageId pageId,
int pageOffset) |
void |
LocalPageStore.put(PageId pageId,
byte[] page) |
void |
RocksPageStore.put(PageId pageId,
byte[] page) |
Copyright © 2023. All Rights Reserved.