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) |
CacheContext |
CacheContext.setTemporary(boolean isTemporary) |
Constructor and Description |
---|
URIStatus(FileInfo info,
CacheContext context)
Constructs an instance of this class from a
FileInfo . |
Modifier and Type | Method and Description |
---|---|
boolean |
NoExceptionCacheManager.append(PageId pageId,
int appendAt,
byte[] page,
CacheContext cacheContext) |
boolean |
LocalCacheManager.append(PageId pageId,
int appendAt,
byte[] page,
CacheContext cacheContext) |
boolean |
CacheManagerWithShadowCache.append(PageId pageId,
int appendAt,
byte[] page,
CacheContext cacheContext) |
boolean |
CacheManager.append(PageId pageId,
int appendAt,
byte[] page,
CacheContext cacheContext) |
int |
NoExceptionCacheManager.get(PageId pageId,
int pageOffset,
int bytesToRead,
byte[] buffer,
int offsetInBuffer,
CacheContext cacheContext) |
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,
PageReadTargetBuffer buffer,
CacheContext cacheContext) |
int |
LocalCacheManager.get(PageId pageId,
int pageOffset,
int bytesToRead,
PageReadTargetBuffer buffer,
CacheContext cacheContext) |
int |
CacheManagerWithShadowCache.get(PageId pageId,
int pageOffset,
int bytesToRead,
PageReadTargetBuffer target,
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.
|
default boolean |
CacheManager.put(PageId pageId,
byte[] 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 |
LocalCacheManager.put(PageId pageId,
ByteBuffer page,
CacheContext cacheContext) |
boolean |
CacheManagerWithShadowCache.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.
|
Copyright © 2023. All Rights Reserved.