Package | Description |
---|---|
alluxio.client.file | |
alluxio.client.file.cache |
Modifier and Type | Method and Description |
---|---|
static CacheContext |
CacheContext.defaults() |
CacheContext |
URIStatus.getCacheContext() |
CacheContext |
CacheContext.setCacheIdentifier(String identifier) |
CacheContext |
CacheContext.setCacheQuota(CacheQuota cacheQuota) |
CacheContext |
CacheContext.setCacheScope(CacheScope cacheScope) |
CacheContext |
CacheContext.setHiveCacheContext(HiveCacheContext hiveCacheContext) |
Constructor and Description |
---|
URIStatus(FileInfo info,
CacheContext context)
Constructs an instance of this class from a
FileInfo . |
Modifier and Type | Method and Description |
---|---|
int |
CacheManagerWithShadowCache.get(PageId pageId,
int pageOffset,
int bytesToRead,
byte[] buffer,
int offsetInBuffer,
CacheContext cacheContext) |
int |
LocalCacheManager.get(PageId pageId,
int pageOffset,
int bytesToRead,
byte[] buffer,
int offsetInBuffer,
CacheContext cacheContext) |
int |
NoExceptionCacheManager.get(PageId pageId,
int pageOffset,
int bytesToRead,
byte[] buffer,
int offsetInBuffer,
CacheContext cacheContext) |
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.
|
boolean |
CacheManagerWithShadowCache.put(PageId pageId,
byte[] page,
CacheContext cacheContext) |
boolean |
LocalCacheManager.put(PageId pageId,
byte[] page,
CacheContext cacheContext) |
boolean |
NoExceptionCacheManager.put(PageId pageId,
byte[] page,
CacheContext cacheContext) |
boolean |
CacheManager.put(PageId pageId,
byte[] page,
CacheContext cacheContext)
Puts a page into the cache manager with scope and quota respected.
|
Copyright © 2023. All Rights Reserved.